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: translateModel(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") translateModel(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01129/0.01129, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.001678/0.001678, allocations: 192.5 kB / 16.67 MB, free: 5.949 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002432/0.002432, allocations: 290.6 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 99.84 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2328, allocations: 86.97 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.7925/1.025, allocations: 218.5 MB / 0.9797 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03223/1.058, allocations: 20.44 MB / 0.9997 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004354/1.062, allocations: 55.75 kB / 0.9998 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004883/1.067, allocations: 1.247 MB / 1.001 GB, free: 2.344 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01654/1.084, allocations: 4.083 MB / 1.005 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006677/1.09, allocations: 1.545 MB / 1.006 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01379/1.104, allocations: 6.973 MB / 1.013 GB, free: 5.711 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006097/1.11, allocations: 2.36 MB / 1.016 GB, free: 3.309 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007903/1.118, allocations: 2.368 MB / 1.018 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007935/1.126, allocations: 2.45 MB / 1.02 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002212/1.128, allocations: 340 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/1.139, allocations: 3.465 MB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002927/1.142, allocations: 1.454 MB / 1.025 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.005703/1.148, allocations: 1.867 MB / 1.027 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01507/1.163, allocations: 5.792 MB / 1.033 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.163, allocations: 0 / 1.033 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/1.163, allocations: 0 / 1.033 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002543/1.163, allocations: 0 / 1.033 GB, free: 1.547 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.01488/1.178, allocations: 4.034 MB / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/1.178, allocations: 8.031 kB / 1.037 GB, free: 13.43 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005804/1.184, allocations: 0.8369 MB / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005717/1.19, allocations: 1.951 MB / 1.04 GB, free: 10.59 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002291/1.19, allocations: 205.4 kB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/1.191, allocations: 264 kB / 1.04 GB, free: 10.13 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008997/1.2, allocations: 3.283 MB / 1.043 GB, free: 6.805 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/1.2, allocations: 3.953 kB / 1.043 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006319/1.201, allocations: 112 kB / 1.043 GB, free: 6.691 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/1.201, allocations: 125.4 kB / 1.043 GB, free: 6.566 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009123/1.21, allocations: 4.623 MB / 1.048 GB, free: 1.93 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.02141/1.232, allocations: 10.93 MB / 1.059 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007404/1.239, allocations: 4.878 MB / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004288/1.244, allocations: 2.528 MB / 1.066 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/1.245, allocations: 0.8605 MB / 1.067 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.987e-05/1.245, allocations: 81.7 kB / 1.067 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=399): time 8.146e-06/1.245, allocations: 0 / 1.067 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=399): time 0.01172/1.257, allocations: 6.036 MB / 1.073 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.257, allocations: 94.55 kB / 1.073 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/1.26, allocations: 1.232 MB / 1.074 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003911/1.26, allocations: 93.7 kB / 1.074 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007477/1.261, allocations: 0.8268 MB / 1.075 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00164/1.262, allocations: 1.398 MB / 1.076 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/1.264, allocations: 0.543 MB / 1.077 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.264, allocations: 305.1 kB / 1.077 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002958/1.267, allocations: 1.607 MB / 1.079 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/1.27, allocations: 1.909 MB / 1.08 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006424/1.276, allocations: 3.838 MB / 1.084 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.629e-05/1.276, allocations: 3.938 kB / 1.084 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008044/1.284, allocations: 4.2 MB / 1.088 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/1.284, allocations: 7.984 kB / 1.088 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/1.285, allocations: 5.328 kB / 1.088 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.954e-05/1.285, allocations: 16 kB / 1.088 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/1.288, allocations: 0.6869 MB / 1.089 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.84e-05/1.288, allocations: 20 kB / 1.089 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/1.291, allocations: 250 kB / 1.089 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003054/1.291, allocations: 112 kB / 1.089 GB, free: 6.316 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.00181/1.293, allocations: 0.7319 MB / 1.09 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/1.294, allocations: 250.4 kB / 1.09 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008782/1.303, allocations: 4.635 MB / 1.095 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.06e-05/1.303, allocations: 36 kB / 1.095 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/1.303, allocations: 0 / 1.095 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5379/1.841, allocations: 3.957 MB / 1.099 GB, free: 288.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/1.856, allocations: 8.281 MB / 1.107 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/1.856, allocations: 7.5 kB / 1.107 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002967/1.859, allocations: 0.6539 MB / 1.108 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000521/1.859, allocations: 137.5 kB / 1.108 GB, free: 285.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002431/1.86, allocations: 83.05 kB / 1.108 GB, free: 285.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003185/1.863, allocations: 5.034 MB / 1.113 GB, free: 280.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.863, allocations: 3.5 kB / 1.113 GB, free: 280.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/1.876, allocations: 6.832 MB / 1.119 GB, free: 278 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/1.878, allocations: 0.7785 MB / 1.12 GB, free: 277.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004291/1.879, allocations: 67.89 kB / 1.12 GB, free: 277.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/1.881, allocations: 88.83 kB / 1.12 GB, free: 277.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007236/1.881, allocations: 232.5 kB / 1.12 GB, free: 277.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002924/1.882, allocations: 108.8 kB / 1.121 GB, free: 277.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001823/1.883, allocations: 0.8609 MB / 1.121 GB, free: 277.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.01e-07/1.883, allocations: 0 / 1.121 GB, free: 277.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004359/1.888, allocations: 1.076 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.0009057/1.889, allocations: 342.7 kB / 1.123 GB, free: 276.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.008553/1.897, allocations: 4.057 MB / 1.127 GB, free: 275.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/1.897, allocations: 1.469 kB / 1.127 GB, free: 275.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.005156/1.902, allocations: 2.553 MB / 1.129 GB, free: 274.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007265/1.91, allocations: 1.084 MB / 1.13 GB, free: 274.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/1.924, allocations: 6.678 MB / 1.137 GB, free: 271.1 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002645/1.926, allocations: 1.935 MB / 1.139 GB, free: 270.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00562/1.932, allocations: 1.222 MB / 1.14 GB, free: 270.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.933, allocations: 244.4 kB / 1.14 GB, free: 270.1 MB / 0.8419 GB Notification: Performance of SimCode: time 2.034e-06/1.933, allocations: 0 / 1.14 GB, free: 270.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.08122/2.014, allocations: 48.32 MB / 1.187 GB, free: 232.4 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)