Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",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.007602/0.007602, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001357/0.001357, allocations: 196.7 kB / 16.68 MB, free: 6.352 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002505/0.002505, allocations: 282.9 kB / 290.8 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.018/1.018, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004014/0.004014, allocations: 104.7 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1867, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.5555/0.7422, allocations: 218.5 MB / 0.9793 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02776/0.77, allocations: 20.44 MB / 0.9992 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.7723, allocations: 63.62 kB / 0.9993 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002987/0.7753, allocations: 1.239 MB / 1 GB, free: 2.664 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.7855, allocations: 4.087 MB / 1.004 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004108/0.7896, allocations: 1.542 MB / 1.006 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008773/0.7984, allocations: 6.965 MB / 1.013 GB, free: 6.039 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003741/0.8022, allocations: 2.369 MB / 1.015 GB, free: 3.629 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004591/0.8068, allocations: 2.364 MB / 1.017 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004846/0.8117, allocations: 2.441 MB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0007449/0.8125, allocations: 348 kB / 1.02 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007505/0.82, allocations: 3.469 MB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002008/0.822, allocations: 1.45 MB / 1.025 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003/0.825, allocations: 1.863 MB / 1.027 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.009444/0.8345, allocations: 5.788 MB / 1.032 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.8345, allocations: 0 / 1.032 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8345, allocations: 0 / 1.032 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.024e-05/0.8346, allocations: 0 / 1.032 GB, free: 1.879 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01093/0.8456, allocations: 4.045 MB / 1.036 GB, free: 13.77 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.8456, allocations: 8.031 kB / 1.036 GB, free: 13.76 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006995/0.8463, allocations: 392.6 kB / 1.037 GB, free: 13.37 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005035/0.8514, allocations: 0.8371 MB / 1.038 GB, free: 12.53 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004721/0.8561, allocations: 1.95 MB / 1.039 GB, free: 10.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.8563, allocations: 197.4 kB / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000668/0.857, allocations: 271.9 kB / 1.04 GB, free: 10.06 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006356/0.8634, allocations: 3.287 MB / 1.043 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.734e-05/0.8635, allocations: 7.953 kB / 1.043 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/0.8638, allocations: 108 kB / 1.043 GB, free: 6.617 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/0.8639, allocations: 125.4 kB / 1.043 GB, free: 6.492 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009965/0.8739, allocations: 4.619 MB / 1.048 GB, free: 1.859 MB / 0.795 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.0205/0.8944, allocations: 10.95 MB / 1.059 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007127/0.9016, allocations: 4.879 MB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004347/0.906, allocations: 2.535 MB / 1.066 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/0.9073, allocations: 0.8563 MB / 1.067 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.9074, allocations: 81.7 kB / 1.067 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=399): time 5.621e-06/0.9074, allocations: 0 / 1.067 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=399): time 0.01135/0.9188, allocations: 6.036 MB / 1.073 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.545e-05/0.9189, allocations: 90.55 kB / 1.073 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.9212, allocations: 1.228 MB / 1.074 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005814/0.9218, allocations: 97.69 kB / 1.074 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007087/0.9225, allocations: 0.8268 MB / 1.075 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001756/0.9242, allocations: 1.398 MB / 1.076 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009457/0.9252, allocations: 0.5508 MB / 1.077 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.9253, allocations: 305.1 kB / 1.077 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002946/0.9283, allocations: 1.603 MB / 1.079 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/0.9316, allocations: 1.901 MB / 1.08 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006691/0.9383, allocations: 3.838 MB / 1.084 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.9384, allocations: 4 kB / 1.084 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008268/0.9467, allocations: 4.2 MB / 1.088 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.9467, allocations: 8 kB / 1.088 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.9467, allocations: 4 kB / 1.088 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.377e-05/0.9468, allocations: 16.41 kB / 1.088 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/0.95, allocations: 0.6866 MB / 1.089 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.827e-05/0.9501, allocations: 19.94 kB / 1.089 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/0.9527, allocations: 246.1 kB / 1.089 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003801/0.9531, allocations: 112 kB / 1.089 GB, free: 6.242 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.001524/0.9546, allocations: 0.728 MB / 1.09 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007229/0.9553, allocations: 258.4 kB / 1.09 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008933/0.9643, allocations: 4.63 MB / 1.095 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.461e-05/0.9644, allocations: 43.94 kB / 1.095 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.9644, allocations: 0 / 1.095 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3362/1.301, allocations: 3.954 MB / 1.099 GB, free: 288.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/1.313, allocations: 8.266 MB / 1.107 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.313, allocations: 4.406 kB / 1.107 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002948/1.316, allocations: 0.6596 MB / 1.107 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004824/1.317, allocations: 138.5 kB / 1.108 GB, free: 285.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003816/1.317, allocations: 82.86 kB / 1.108 GB, free: 285.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002824/1.32, allocations: 5.043 MB / 1.113 GB, free: 280.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.32, allocations: 1.406 kB / 1.113 GB, free: 280.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/1.332, allocations: 6.841 MB / 1.119 GB, free: 278 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001953/1.334, allocations: 0.7733 MB / 1.12 GB, free: 277.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006014/1.334, allocations: 68.42 kB / 1.12 GB, free: 277.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/1.336, allocations: 90.34 kB / 1.12 GB, free: 277.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000671/1.337, allocations: 224.9 kB / 1.12 GB, free: 277.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002886/1.337, allocations: 112.4 kB / 1.12 GB, free: 277.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001359/1.339, allocations: 0.8607 MB / 1.121 GB, free: 277.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.339, allocations: 0 / 1.121 GB, free: 277.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003339/1.342, allocations: 1.077 MB / 1.122 GB, free: 277 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01232/1.354, allocations: 7.629 MB / 1.13 GB, free: 273.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007402/1.362, allocations: 4.06 MB / 1.134 GB, free: 272.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.362, allocations: 1.375 kB / 1.134 GB, free: 272.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004413/1.366, allocations: 2.552 MB / 1.136 GB, free: 271.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006231/1.373, allocations: 1.064 MB / 1.137 GB, free: 270.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03805/1.411, allocations: 23.1 MB / 1.16 GB, free: 259.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.412, allocations: 1.942 MB / 1.162 GB, free: 257.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003503/1.416, allocations: 1.22 MB / 1.163 GB, free: 256.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/1.417, allocations: 1.085 MB / 1.164 GB, free: 255.2 MB / 0.8419 GB Notification: Performance of SimCode: time 9.22e-07/1.417, allocations: 0 / 1.164 GB, free: 255.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/1.52, allocations: 66.74 MB / 1.229 GB, free: 189.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/16.66, allocations: 4.547 kB / 1.229 GB, free: 189.2 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)