Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 110.5 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 191.7 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6861/0.6861, allocations: 122.8 MB / 413.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3344, allocations: 77.92 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.4815/0.816, allocations: 188.4 MB / 0.7512 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008385/0.8244, allocations: 6.077 MB / 0.7572 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.8256, allocations: 36.72 kB / 0.7572 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.8269, allocations: 0.5151 MB / 0.7577 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005331/0.8323, allocations: 1.9 MB / 0.7596 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.8349, allocations: 0.9373 MB / 0.7605 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003916/0.8388, allocations: 2.493 MB / 0.7629 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.8401, allocations: 0.7707 MB / 0.7637 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.842, allocations: 0.8567 MB / 0.7645 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.8437, allocations: 0.7753 MB / 0.7653 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.8438, allocations: 89.38 kB / 0.7653 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0035/0.8474, allocations: 1.589 MB / 0.7669 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004878/0.8479, allocations: 366.7 kB / 0.7672 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009036/0.8488, allocations: 0.5507 MB / 0.7678 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003419/0.8522, allocations: 1.905 MB / 0.7696 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8522, allocations: 0.7812 kB / 0.7696 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8522, allocations: 0 / 0.7696 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.8522, allocations: 0.875 kB / 0.7696 GB, free: 1.453 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002307/0.8546, allocations: 1.372 MB / 0.771 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.8546, allocations: 11.41 kB / 0.771 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001377/0.8548, allocations: 110.5 kB / 0.7711 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.8568, allocations: 322.4 kB / 0.7714 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.8579, allocations: 0.7443 MB / 0.7721 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.858, allocations: 49.69 kB / 0.7722 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.8581, allocations: 73.22 kB / 0.7722 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.8594, allocations: 0.7878 MB / 0.773 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.8594, allocations: 4.844 kB / 0.773 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.8595, allocations: 30.31 kB / 0.7731 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.802e-05/0.8596, allocations: 29.84 kB / 0.7731 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.8607, allocations: 0.6386 MB / 0.7737 GB, free: 16.19 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003435/0.8642, allocations: 3.38 MB / 0.777 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007415/0.8649, allocations: 0.509 MB / 0.7775 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/0.8653, allocations: 288.1 kB / 0.7778 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005542/0.8659, allocations: 0.679 MB / 0.7784 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.8659, allocations: 42.12 kB / 0.7785 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=51): time 2.084e-06/0.8659, allocations: 1.031 kB / 0.7785 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=51): time 0.001406/0.8673, allocations: 0.7718 MB / 0.7792 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.8674, allocations: 60.75 kB / 0.7793 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.8679, allocations: 0.5984 MB / 0.7799 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.868, allocations: 35.64 kB / 0.7799 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.8682, allocations: 387.3 kB / 0.7803 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.8683, allocations: 186.7 kB / 0.7805 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.8684, allocations: 92.19 kB / 0.7805 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.8686, allocations: 383.6 kB / 0.7809 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.8689, allocations: 207.8 kB / 0.7811 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.8693, allocations: 280.2 kB / 0.7814 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007344/0.8701, allocations: 0.5056 MB / 0.7819 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8701, allocations: 0.7812 kB / 0.7819 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008928/0.871, allocations: 0.6187 MB / 0.7825 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.871, allocations: 13.66 kB / 0.7825 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.871, allocations: 0 / 0.7825 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.871, allocations: 5.656 kB / 0.7825 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.8716, allocations: 133 kB / 0.7826 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.8716, allocations: 8.688 kB / 0.7826 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006731/0.8723, allocations: 43.09 kB / 0.7827 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.8723, allocations: 21.55 kB / 0.7827 GB, free: 12.32 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002743/0.8726, allocations: 255.6 kB / 0.7829 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.8727, allocations: 80.34 kB / 0.783 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009209/0.8737, allocations: 0.5933 MB / 0.7836 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.8737, allocations: 4.906 kB / 0.7836 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8737, allocations: 6.344 kB / 0.7836 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000841/0.8745, allocations: 0.8075 MB / 0.7844 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.8764, allocations: 1.555 MB / 0.7859 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.8764, allocations: 0 / 0.7859 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007127/0.8772, allocations: 158.6 kB / 0.7861 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.8772, allocations: 4.875 kB / 0.7861 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.8772, allocations: 17.31 kB / 0.7861 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.8772, allocations: 5.766 kB / 0.7861 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8772, allocations: 1.062 kB / 0.7861 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.8785, allocations: 0.9449 MB / 0.787 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.8788, allocations: 216.5 kB / 0.7872 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.527e-05/0.8789, allocations: 11.91 kB / 0.7872 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/0.8795, allocations: 30.2 kB / 0.7873 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/0.8796, allocations: 34.5 kB / 0.7873 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.8796, allocations: 19.97 kB / 0.7873 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000391/0.88, allocations: 429.9 kB / 0.7877 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.88, allocations: 0.9688 kB / 0.7877 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007104/0.8807, allocations: 269.7 kB / 0.788 GB, free: 10.84 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001728/0.8825, allocations: 1.591 MB / 0.7895 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009792/0.8834, allocations: 0.5833 MB / 0.7901 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.8835, allocations: 3.016 kB / 0.7901 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.8838, allocations: 274.8 kB / 0.7904 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.8858, allocations: 496.9 kB / 0.7908 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006865/0.8927, allocations: 6.15 MB / 0.7968 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.8932, allocations: 1.021 MB / 0.7978 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006547/0.8939, allocations: 184.1 kB / 0.798 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.8943, allocations: 302.3 kB / 0.7983 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of SimCode: time 1.212e-06/0.8943, allocations: 2.094 kB / 0.7983 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04054/0.9348, allocations: 21.8 MB / 0.8196 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.222/8.157, allocations: 8.859 kB / 0.8196 GB, free: 12.93 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 2.88 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)