Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009414/0.0009414, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001005/0.001006, allocations: 172.7 kB / 15.95 MB, free: 208 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.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 267 kB / 291.3 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9646/0.9646, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005583/0.0005584, allocations: 15.78 kB / 0.598 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1863, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.5531/0.7394, allocations: 175.3 MB / 0.8557 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005938/0.7453, allocations: 3.782 MB / 0.8594 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008594/0.7462, allocations: 18.75 kB / 0.8594 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.7474, allocations: 311.2 kB / 0.8597 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00322/0.7506, allocations: 1.136 MB / 0.8608 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.7535, allocations: 0.9607 MB / 0.8617 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002235/0.7557, allocations: 1.99 MB / 0.8637 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009905/0.7567, allocations: 0.8287 MB / 0.8645 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.758, allocations: 0.849 MB / 0.8653 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009617/0.759, allocations: 0.8351 MB / 0.8661 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.7591, allocations: 73.91 kB / 0.8662 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.7609, allocations: 0.7121 MB / 0.8669 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003256/0.7612, allocations: 326.8 kB / 0.8672 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.7614, allocations: 185.9 kB / 0.8674 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.7625, allocations: 1.066 MB / 0.8684 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7625, allocations: 6.75 kB / 0.8684 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.996e-06/0.7625, allocations: 0 / 0.8684 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.7625, allocations: 3.938 kB / 0.8684 GB, free: 0.7422 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002306/0.7648, allocations: 1.178 MB / 0.8696 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.7649, allocations: 11.72 kB / 0.8696 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.7663, allocations: 249.2 kB / 0.8698 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008043/0.7671, allocations: 0.5604 MB / 0.8704 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.7672, allocations: 31.78 kB / 0.8704 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.89e-05/0.7673, allocations: 49.31 kB / 0.8704 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.7687, allocations: 0.9733 MB / 0.8714 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.7687, allocations: 2.969 kB / 0.8714 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.315e-05/0.7688, allocations: 21.75 kB / 0.8714 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.7688, allocations: 29.7 kB / 0.8714 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.7702, allocations: 0.9429 MB / 0.8724 GB, free: 14.05 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.00458/0.7748, allocations: 4.177 MB / 0.8764 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008972/0.7757, allocations: 0.6026 MB / 0.877 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007192/0.7765, allocations: 0.5185 MB / 0.8775 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009421/0.7774, allocations: 0.8946 MB / 0.8784 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.7774, allocations: 38 kB / 0.8785 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001326/0.7788, allocations: 363.5 kB / 0.8788 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.715e-06/0.7788, allocations: 0 / 0.8788 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01554/0.7943, allocations: 3.682 MB / 0.8824 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.7944, allocations: 59.84 kB / 0.8825 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.7954, allocations: 0.7 MB / 0.8831 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.7956, allocations: 41.7 kB / 0.8832 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.7958, allocations: 320.6 kB / 0.8835 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.796, allocations: 177.4 kB / 0.8836 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.7961, allocations: 11.94 kB / 0.8837 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.7962, allocations: 326 kB / 0.884 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006462/0.7969, allocations: 396.9 kB / 0.8843 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006799/0.7976, allocations: 493.5 kB / 0.8848 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007082/0.7983, allocations: 448.7 kB / 0.8852 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.7983, allocations: 7.953 kB / 0.8853 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01022/0.8085, allocations: 2.47 MB / 0.8877 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.8086, allocations: 12.08 kB / 0.8877 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.8086, allocations: 4 kB / 0.8877 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008543/0.8171, allocations: 1.546 MB / 0.8892 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.8177, allocations: 103.8 kB / 0.8893 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.8291, allocations: 6.535 MB / 0.8957 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/0.8301, allocations: 35.92 kB / 0.8957 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.335e-05/0.8302, allocations: 43.94 kB / 0.8957 GB, free: 6.957 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * 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: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003552/0.8305, allocations: 206.4 kB / 0.8959 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.8307, allocations: 86.92 kB / 0.896 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004683/0.8354, allocations: 1.672 MB / 0.8977 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.8354, allocations: 8 kB / 0.8977 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.8354, allocations: 6.188 kB / 0.8977 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.8354, allocations: 3.984 kB / 0.8977 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005393/0.8408, allocations: 2.485 MB / 0.9001 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.8408, allocations: 0 / 0.9001 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.8413, allocations: 95.83 kB / 0.9002 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002898/0.8442, allocations: 0.6534 MB / 0.9008 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.8443, allocations: 23.94 kB / 0.9009 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005887/0.8502, allocations: 4.403 MB / 0.9052 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8502, allocations: 4 kB / 0.9052 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004766/0.855, allocations: 2.085 MB / 0.9072 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004384/0.8554, allocations: 235.9 kB / 0.9074 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.8555, allocations: 12 kB / 0.9074 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005456/0.8561, allocations: 35.92 kB / 0.9075 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.8562, allocations: 52.5 kB / 0.9075 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/0.8563, allocations: 20 kB / 0.9075 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006297/0.8569, allocations: 0.4951 MB / 0.908 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8569, allocations: 0 / 0.908 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009644/0.8579, allocations: 283.8 kB / 0.9083 GB, free: 9.68 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * 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: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004395/0.8584, allocations: 233.7 kB / 0.9085 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002818/0.8612, allocations: 1.39 MB / 0.9099 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8612, allocations: 0 / 0.9099 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/0.8628, allocations: 0.8874 MB / 0.9107 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.8647, allocations: 442.5 kB / 0.9112 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.8672, allocations: 1.979 MB / 0.9131 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.8678, allocations: 0.9789 MB / 0.914 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005768/0.8683, allocations: 170.7 kB / 0.9142 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.8685, allocations: 71.41 kB / 0.9143 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.8685, allocations: 0 / 0.9143 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of Templates: time 0.03138/0.8999, allocations: 20.83 MB / 0.9346 GB, free: 14.87 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)