Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",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.007816/0.007816, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001959/0.001959, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8726/0.8726, allocations: 135.6 MB / 426.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 67.92 kB / 0.5857 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1711, allocations: 81.03 MB / 0.6649 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.5946/0.7658, allocations: 202 MB / 0.8621 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01256/0.7784, allocations: 7.377 MB / 0.8693 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.7803, allocations: 35.81 kB / 0.8693 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.7825, allocations: 0.6992 MB / 0.87 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007298/0.7898, allocations: 2.395 MB / 0.8723 GB, free: 10 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.7938, allocations: 1.238 MB / 0.8735 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005249/0.799, allocations: 2.914 MB / 0.8764 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.8009, allocations: 0.9522 MB / 0.8773 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.8033, allocations: 1.012 MB / 0.8783 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.8059, allocations: 0.9708 MB / 0.8793 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003161/0.8062, allocations: 108 kB / 0.8794 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004963/0.8112, allocations: 2.128 MB / 0.8814 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007295/0.8119, allocations: 446.8 kB / 0.8819 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.8132, allocations: 0.669 MB / 0.8825 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005423/0.8187, allocations: 2.416 MB / 0.8849 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.8187, allocations: 0 / 0.8849 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8187, allocations: 0 / 0.8849 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.749e-05/0.8188, allocations: 0 / 0.8849 GB, free: 13.12 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003832/0.8226, allocations: 1.669 MB / 0.8865 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.8227, allocations: 13.11 kB / 0.8865 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001969/0.8229, allocations: 135.3 kB / 0.8866 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/0.8257, allocations: 381.3 kB / 0.887 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.8275, allocations: 0.8559 MB / 0.8878 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.467e-05/0.8276, allocations: 62 kB / 0.8879 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.8278, allocations: 87.95 kB / 0.888 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.8298, allocations: 1.042 MB / 0.889 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.8299, allocations: 4 kB / 0.889 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.855e-05/0.83, allocations: 39.98 kB / 0.889 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.549e-05/0.8301, allocations: 42 kB / 0.8891 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.8318, allocations: 0.8822 MB / 0.8899 GB, free: 7.781 MB / 0.6544 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.006139/0.838, allocations: 4.285 MB / 0.8941 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.8392, allocations: 0.6942 MB / 0.8948 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008856/0.8401, allocations: 468.8 kB / 0.8953 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007497/0.8409, allocations: 0.6615 MB / 0.8959 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.841, allocations: 47.12 kB / 0.8959 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 3.386e-06/0.841, allocations: 4 kB / 0.896 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002321/0.8433, allocations: 0.9865 MB / 0.8969 GB, free: 124 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.8434, allocations: 67.84 kB / 0.897 GB, free: 44 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/0.8444, allocations: 0.6334 MB / 0.8976 GB, free: 15.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.8445, allocations: 41.7 kB / 0.8976 GB, free: 15.35 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/0.8449, allocations: 448.7 kB / 0.8981 GB, free: 14.91 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.8452, allocations: 269.7 kB / 0.8983 GB, free: 14.64 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/0.8455, allocations: 114.3 kB / 0.8984 GB, free: 14.52 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002486/0.8458, allocations: 386.7 kB / 0.8988 GB, free: 14.13 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005391/0.8463, allocations: 273.2 kB / 0.8991 GB, free: 13.87 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.8469, allocations: 366.8 kB / 0.8994 GB, free: 13.48 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.8481, allocations: 0.6626 MB / 0.9001 GB, free: 12.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.8481, allocations: 0 / 0.9001 GB, free: 12.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001702/0.8498, allocations: 0.7974 MB / 0.9008 GB, free: 11.99 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.8499, allocations: 4 kB / 0.9008 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.8499, allocations: 0 / 0.9008 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.8499, allocations: 11.98 kB / 0.9009 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/0.8506, allocations: 143.9 kB / 0.901 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.8507, allocations: 12.61 kB / 0.901 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008829/0.8516, allocations: 50.3 kB / 0.901 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.8516, allocations: 24 kB / 0.9011 GB, free: 11.75 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0005277/0.8522, allocations: 289.6 kB / 0.9013 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.8524, allocations: 87.48 kB / 0.9014 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.8539, allocations: 0.7947 MB / 0.9022 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.854, allocations: 8.5 kB / 0.9022 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.854, allocations: 0 / 0.9022 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001209/0.8552, allocations: 0.8152 MB / 0.903 GB, free: 9.699 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/0.8583, allocations: 1.837 MB / 0.9048 GB, free: 7.805 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.8583, allocations: 4.875 kB / 0.9048 GB, free: 7.801 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000875/0.8592, allocations: 179.8 kB / 0.905 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/0.8592, allocations: 0 / 0.905 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.8592, allocations: 16 kB / 0.905 GB, free: 7.609 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.8593, allocations: 0 / 0.905 GB, free: 7.609 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.8593, allocations: 8 kB / 0.905 GB, free: 7.602 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.8614, allocations: 1.281 MB / 0.9063 GB, free: 6.305 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004672/0.8618, allocations: 256.3 kB / 0.9065 GB, free: 6.035 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.862, allocations: 16 kB / 0.9065 GB, free: 6.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006293/0.8626, allocations: 19.98 kB / 0.9065 GB, free: 6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.8627, allocations: 44.44 kB / 0.9066 GB, free: 5.957 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.8628, allocations: 27.98 kB / 0.9066 GB, free: 5.93 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00063/0.8634, allocations: 451 kB / 0.907 GB, free: 5.496 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8635, allocations: 0 / 0.907 GB, free: 5.496 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009463/0.8644, allocations: 351.3 kB / 0.9074 GB, free: 5.152 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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 (70): * Single equations (assignments): 70 * 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.002705/0.8671, allocations: 1.916 MB / 0.9092 GB, free: 3.207 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.8685, allocations: 0.6757 MB / 0.9099 GB, free: 2.535 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.8685, allocations: 0 / 0.9099 GB, free: 2.535 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006067/0.8691, allocations: 371 kB / 0.9103 GB, free: 2.168 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/0.8719, allocations: 0.5424 MB / 0.9108 GB, free: 1.641 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.8838, allocations: 6.957 MB / 0.9176 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009001/0.8847, allocations: 1.085 MB / 0.9186 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001089/0.8858, allocations: 227.2 kB / 0.9189 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006286/0.8865, allocations: 371.2 kB / 0.9192 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of SimCode: time 1.283e-06/0.8865, allocations: 0 / 0.9192 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06476/0.9513, allocations: 25.35 MB / 0.944 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.815/10.77, allocations: 2.844 kB / 0.944 GB, free: 15.76 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)