Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneOpenDoor",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.0009092/0.0009091, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001081/0.001081, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.002/1.002, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003151, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1711, allocations: 83.42 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor): time 0.4498/0.6209, allocations: 151.6 MB / 0.7456 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01161/0.6326, allocations: 7.965 MB / 0.7534 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.6342, allocations: 31.81 kB / 0.7534 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.6357, allocations: 437.3 kB / 0.7539 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003576/0.6393, allocations: 1.29 MB / 0.7551 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.6415, allocations: 0.736 MB / 0.7558 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004809/0.6463, allocations: 4.594 MB / 0.7603 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.6479, allocations: 0.9796 MB / 0.7613 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.6503, allocations: 1.242 MB / 0.7625 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.6525, allocations: 1.464 MB / 0.7639 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003193/0.6529, allocations: 88 kB / 0.764 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.6551, allocations: 0.8344 MB / 0.7648 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006628/0.6557, allocations: 0.5569 MB / 0.7654 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006398/0.6564, allocations: 368.8 kB / 0.7657 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.6587, allocations: 2.081 MB / 0.7677 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6587, allocations: 0 / 0.7677 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6587, allocations: 4 kB / 0.7678 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.729e-05/0.6588, allocations: 0 / 0.7678 GB, free: 13.53 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004243/0.663, allocations: 2.032 MB / 0.7697 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.6631, allocations: 8.031 kB / 0.7697 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003832/0.6635, allocations: 223.7 kB / 0.77 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005019/0.664, allocations: 193.8 kB / 0.7701 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.666, allocations: 1.146 MB / 0.7713 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.163e-05/0.6661, allocations: 119 kB / 0.7714 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.6663, allocations: 148 kB / 0.7715 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003089/0.6694, allocations: 1.923 MB / 0.7734 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.6694, allocations: 0 / 0.7734 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.6696, allocations: 60 kB / 0.7735 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.6696, allocations: 40 kB / 0.7735 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003909/0.6735, allocations: 2.478 MB / 0.7759 GB, free: 5.012 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.007788/0.6813, allocations: 6.115 MB / 0.7819 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/0.685, allocations: 2.805 MB / 0.7846 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001998/0.687, allocations: 1.421 MB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/0.6885, allocations: 1.742 MB / 0.7877 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.6886, allocations: 56.56 kB / 0.7878 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=237): time 3.447e-06/0.6886, allocations: 0 / 0.7878 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=237): time 0.005423/0.694, allocations: 3.442 MB / 0.7911 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.6941, allocations: 77.41 kB / 0.7912 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00096/0.695, allocations: 0.751 MB / 0.7919 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.6952, allocations: 61.7 kB / 0.792 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.6955, allocations: 498.1 kB / 0.7925 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006016/0.6961, allocations: 0.7814 MB / 0.7932 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.6962, allocations: 44 kB / 0.7933 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6964, allocations: 389.9 kB / 0.7936 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.6978, allocations: 0.9019 MB / 0.7945 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.6995, allocations: 1.121 MB / 0.7956 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.7012, allocations: 1.076 MB / 0.7967 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.7012, allocations: 4 kB / 0.7967 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003798/0.705, allocations: 2.436 MB / 0.799 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.705, allocations: 9.094 kB / 0.7991 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.705, allocations: 0 / 0.7991 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.7051, allocations: 20.5 kB / 0.7991 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.7067, allocations: 435.4 kB / 0.7995 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.283e-05/0.7068, allocations: 16.61 kB / 0.7995 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.7079, allocations: 210.3 kB / 0.7997 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.7081, allocations: 76.48 kB / 0.7998 GB, free: 11.65 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006483/0.7087, allocations: 441.2 kB / 0.8002 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.709, allocations: 138.3 kB / 0.8003 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/0.7136, allocations: 2.744 MB / 0.803 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.7136, allocations: 24 kB / 0.803 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.7136, allocations: 7.984 kB / 0.803 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003429/0.7171, allocations: 2.378 MB / 0.8054 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006274/0.7233, allocations: 4.31 MB / 0.8096 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.7234, allocations: 0 / 0.8096 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/0.725, allocations: 411.4 kB / 0.81 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000525/0.7256, allocations: 98.19 kB / 0.8101 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/0.7257, allocations: 55.98 kB / 0.8101 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000697/0.7264, allocations: 1.124 MB / 0.8112 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7264, allocations: 1.812 kB / 0.8112 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00593/0.7324, allocations: 4.058 MB / 0.8152 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008026/0.7332, allocations: 494.6 kB / 0.8156 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/0.7334, allocations: 40 kB / 0.8157 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009821/0.7344, allocations: 107.8 kB / 0.8158 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/0.7347, allocations: 149.8 kB / 0.8159 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.7348, allocations: 63.98 kB / 0.816 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006987/0.7355, allocations: 0.5264 MB / 0.8165 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7355, allocations: 0 / 0.8165 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001496/0.737, allocations: 0.6359 MB / 0.8171 GB, free: 9.645 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006805/0.7438, allocations: 4.883 MB / 0.8219 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003669/0.7475, allocations: 2.313 MB / 0.8242 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7475, allocations: 0 / 0.8242 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.7495, allocations: 1.281 MB / 0.8254 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/0.7521, allocations: 0.5457 MB / 0.8259 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/0.7693, allocations: 10.96 MB / 0.8366 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009464/0.7703, allocations: 1.343 MB / 0.838 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002237/0.7726, allocations: 0.7283 MB / 0.8387 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009937/0.7736, allocations: 0.6203 MB / 0.8393 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of SimCode: time 2.204e-06/0.7736, allocations: 0 / 0.8393 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3843/1.158, allocations: 39.25 MB / 0.8776 GB, free: 206.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/1.158, allocations: 225.7 kB / 0.8778 GB, free: 206 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.081/4.239, allocations: 3.844 kB / 0.8778 GB, free: 206 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneOpenDoor.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) Environment - environmentSimulation: