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.004919/0.00492, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001281/0.001281, allocations: 190.3 kB / 16.67 MB, free: 5.969 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002439/0.002439, allocations: 282.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.176/1.176, allocations: 178.6 MB / 0.5074 GB, free: 12.6 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 99.84 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4653, allocations: 89.13 MB / 0.7813 GB, free: 1.188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.7177/1.183, allocations: 218.5 MB / 0.9947 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02249/1.206, allocations: 20.42 MB / 1.015 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/1.208, allocations: 59.5 kB / 1.015 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002913/1.211, allocations: 1.245 MB / 1.016 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/1.221, allocations: 4.09 MB / 1.02 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003805/1.225, allocations: 1.538 MB / 1.021 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008442/1.234, allocations: 6.974 MB / 1.028 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003125/1.237, allocations: 2.352 MB / 1.031 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003983/1.241, allocations: 2.369 MB / 1.033 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004291/1.245, allocations: 2.45 MB / 1.035 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005379/1.246, allocations: 344.1 kB / 1.036 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006764/1.252, allocations: 3.464 MB / 1.039 GB, free: 1.434 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001353/1.254, allocations: 1.45 MB / 1.04 GB, free: 1.426 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002547/1.256, allocations: 1.871 MB / 1.042 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.009863/1.266, allocations: 5.782 MB / 1.048 GB, free: 404 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.266, allocations: 0 / 1.048 GB, free: 404 kB / 0.7481 GB Notification: Performance of FrontEnd: time 1.452e-06/1.266, allocations: 3.625 kB / 1.048 GB, free: 404 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001189/1.266, allocations: 1.781 kB / 1.048 GB, free: 404 kB / 0.7481 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.009922/1.276, allocations: 4.041 MB / 1.052 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/1.276, allocations: 11.25 kB / 1.052 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004796/1.277, allocations: 389.2 kB / 1.052 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004593/1.281, allocations: 0.8401 MB / 1.053 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003549/1.285, allocations: 1.949 MB / 1.055 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/1.285, allocations: 205.7 kB / 1.055 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003684/1.285, allocations: 269.6 kB / 1.055 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004949/1.29, allocations: 3.278 MB / 1.059 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.96e-05/1.29, allocations: 7.531 kB / 1.059 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/1.291, allocations: 110.2 kB / 1.059 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-05/1.291, allocations: 123.6 kB / 1.059 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006166/1.297, allocations: 4.62 MB / 1.063 GB, free: 13.88 MB / 0.7637 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.01591/1.313, allocations: 10.96 MB / 1.074 GB, free: 7.668 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007099/1.32, allocations: 4.858 MB / 1.079 GB, free: 4.836 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00421/1.324, allocations: 2.537 MB / 1.081 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/1.326, allocations: 0.8636 MB / 1.082 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.605e-05/1.326, allocations: 77.92 kB / 1.082 GB, free: 2.598 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=399): time 5.641e-06/1.326, allocations: 0 / 1.082 GB, free: 2.598 MB / 0.7637 GB Notification: Performance of matching and sorting (n=399): time 0.01112/1.337, allocations: 6.042 MB / 1.088 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/1.337, allocations: 90.55 kB / 1.088 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/1.339, allocations: 1.228 MB / 1.089 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003722/1.34, allocations: 89.7 kB / 1.089 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000865/1.341, allocations: 0.8328 MB / 1.09 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001839/1.342, allocations: 1.402 MB / 1.092 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/1.343, allocations: 0.5469 MB / 1.092 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.344, allocations: 301.1 kB / 1.092 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002831/1.346, allocations: 1.603 MB / 1.094 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002974/1.349, allocations: 1.914 MB / 1.096 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00609/1.356, allocations: 3.831 MB / 1.1 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/1.356, allocations: 3.938 kB / 1.1 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007066/1.363, allocations: 4.2 MB / 1.104 GB, free: 12.38 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/1.363, allocations: 12 kB / 1.104 GB, free: 12.37 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/1.363, allocations: 4 kB / 1.104 GB, free: 12.36 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/1.363, allocations: 16 kB / 1.104 GB, free: 12.35 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002823/1.366, allocations: 0.6802 MB / 1.104 GB, free: 11.71 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.323e-05/1.366, allocations: 16 kB / 1.104 GB, free: 11.69 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/1.368, allocations: 246.1 kB / 1.105 GB, free: 11.45 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/1.368, allocations: 119.1 kB / 1.105 GB, free: 11.34 MB / 0.795 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.001456/1.37, allocations: 0.7326 MB / 1.105 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005833/1.37, allocations: 250.5 kB / 1.106 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007873/1.378, allocations: 4.636 MB / 1.11 GB, free: 5.711 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/1.378, allocations: 40 kB / 1.11 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/1.378, allocations: 0 / 1.11 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00618/1.385, allocations: 3.953 MB / 1.114 GB, free: 1.66 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/1.398, allocations: 8.284 MB / 1.122 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/1.398, allocations: 0 / 1.122 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/1.401, allocations: 0.6584 MB / 1.123 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004982/1.401, allocations: 149.6 kB / 1.123 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002821/1.402, allocations: 83.98 kB / 1.123 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004222/1.406, allocations: 5.036 MB / 1.128 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.406, allocations: 0 / 1.128 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/1.417, allocations: 6.842 MB / 1.135 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/1.419, allocations: 0.7719 MB / 1.135 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003959/1.42, allocations: 67.98 kB / 1.135 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001911/1.421, allocations: 90.77 kB / 1.136 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004558/1.422, allocations: 222.8 kB / 1.136 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000234/1.422, allocations: 119 kB / 1.136 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001304/1.424, allocations: 0.8606 MB / 1.137 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/1.424, allocations: 0 / 1.137 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002495/1.426, allocations: 1.073 MB / 1.138 GB, free: 9.008 MB / 0.8262 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.01123/1.437, allocations: 7.615 MB / 1.145 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006457/1.444, allocations: 4.062 MB / 1.149 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/1.444, allocations: 4 kB / 1.149 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003741/1.448, allocations: 2.553 MB / 1.152 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00508/1.453, allocations: 1.08 MB / 1.153 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/1.488, allocations: 23.1 MB / 1.175 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/1.49, allocations: 1.938 MB / 1.177 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.003341/1.493, allocations: 1.223 MB / 1.178 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/1.495, allocations: 1.089 MB / 1.179 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of SimCode: time 8.21e-07/1.495, allocations: 0 / 1.179 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.126/1.621, allocations: 66.75 MB / 1.245 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/16.71, allocations: 6.844 kB / 1.245 GB, free: 12.17 MB / 0.9356 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)