Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.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.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000833/0.0008329, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008859/0.0008859, allocations: 177.3 kB / 15.95 MB, free: 216 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.184/1.184, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 266.8 kB / 291.3 MB, free: 1.992 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.744/0.744, allocations: 144.6 MB / 487 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003927, allocations: 11.09 kB / 0.5683 GB, free: 38.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1257, allocations: 83.08 MB / 0.6494 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed): time 0.4566/0.5824, allocations: 164.5 MB / 0.81 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009456/0.5919, allocations: 8.017 MB / 0.8179 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000632/0.5926, allocations: 16.09 kB / 0.8179 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.5939, allocations: 0.5026 MB / 0.8184 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.5979, allocations: 1.393 MB / 0.8197 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.5995, allocations: 0.5202 MB / 0.8202 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.6013, allocations: 1.22 MB / 0.8214 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009064/0.6022, allocations: 0.6393 MB / 0.8221 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.6054, allocations: 1.294 MB / 0.8233 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008866/0.6063, allocations: 492.3 kB / 0.8238 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.382e-05/0.6063, allocations: 43.59 kB / 0.8238 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.6084, allocations: 0.7995 MB / 0.8246 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.6086, allocations: 294.8 kB / 0.8249 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.609, allocations: 208.8 kB / 0.8251 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009981/0.61, allocations: 1.001 MB / 0.8261 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.61, allocations: 0 / 0.8261 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.61, allocations: 0 / 0.8261 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.61, allocations: 0 / 0.8261 GB, free: 17.33 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.002663/0.6127, allocations: 1.236 MB / 0.8273 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.6127, allocations: 10.03 kB / 0.8273 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005319/0.6132, allocations: 152 kB / 0.8274 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007218/0.614, allocations: 0.531 MB / 0.8279 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.614, allocations: 55.73 kB / 0.828 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.292e-05/0.6141, allocations: 70.53 kB / 0.8281 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.6151, allocations: 0.8572 MB / 0.8289 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.6152, allocations: 0 / 0.8289 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.6152, allocations: 26.28 kB / 0.8289 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/0.6153, allocations: 58.33 kB / 0.829 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009843/0.6163, allocations: 0.7705 MB / 0.8297 GB, free: 16.18 MB / 0.5762 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.004055/0.6203, allocations: 4.523 MB / 0.8342 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008199/0.6212, allocations: 480 kB / 0.8346 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004025/0.6216, allocations: 0.5872 MB / 0.8352 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.6216, allocations: 36.89 kB / 0.8352 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.6216, allocations: 0 / 0.8352 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.001012/0.6226, allocations: 0.6173 MB / 0.8358 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.6227, allocations: 58.5 kB / 0.8359 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007635/0.6234, allocations: 0.8608 MB / 0.8367 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.6235, allocations: 32.05 kB / 0.8367 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.6237, allocations: 392.4 kB / 0.8371 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.6237, allocations: 139.4 kB / 0.8373 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.6238, allocations: 9.938 kB / 0.8373 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.6239, allocations: 321.3 kB / 0.8376 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.6241, allocations: 187.4 kB / 0.8378 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.6245, allocations: 284.1 kB / 0.838 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.6248, allocations: 216.3 kB / 0.8382 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6248, allocations: 0 / 0.8382 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007715/0.6256, allocations: 0.5952 MB / 0.8388 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.6256, allocations: 7.578 kB / 0.8388 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6256, allocations: 3.906 kB / 0.8388 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.6256, allocations: 5.094 kB / 0.8388 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.626, allocations: 104.5 kB / 0.8389 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.626, allocations: 5.219 kB / 0.8389 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/0.6266, allocations: 105 kB / 0.839 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.6267, allocations: 24.55 kB / 0.8391 GB, free: 11.16 MB / 0.5762 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 (57): * Single equations (assignments): 57 * 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.0002381/0.6269, allocations: 244 kB / 0.8393 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.627, allocations: 89.55 kB / 0.8394 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007787/0.6278, allocations: 0.5508 MB / 0.8399 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.6278, allocations: 13.8 kB / 0.8399 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6279, allocations: 0 / 0.8399 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.6279, allocations: 0 / 0.8399 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.6305, allocations: 2.132 MB / 0.842 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6305, allocations: 4.875 kB / 0.842 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.6309, allocations: 93.45 kB / 0.8421 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.6309, allocations: 12.97 kB / 0.8421 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.6309, allocations: 21.08 kB / 0.8421 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/0.6309, allocations: 14.72 kB / 0.8421 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.6309, allocations: 9.625 kB / 0.8422 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.6321, allocations: 1.295 MB / 0.8434 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.6324, allocations: 226.1 kB / 0.8436 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.6325, allocations: 16.52 kB / 0.8437 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/0.633, allocations: 52.59 kB / 0.8437 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.6331, allocations: 54.25 kB / 0.8438 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.6332, allocations: 20.34 kB / 0.8438 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005686/0.6337, allocations: 0.6196 MB / 0.8444 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6337, allocations: 0 / 0.8444 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006219/0.6344, allocations: 238.9 kB / 0.8446 GB, free: 8.504 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.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 (48): * Single equations (assignments): 48 * 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 Backend phase and start with SimCode phase: time 0.0003848/0.6348, allocations: 241.6 kB / 0.8448 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006456/0.6354, allocations: 451.6 kB / 0.8453 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6354, allocations: 3.109 kB / 0.8453 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.6357, allocations: 238.6 kB / 0.8455 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.6376, allocations: 479.9 kB / 0.846 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.6396, allocations: 1.811 MB / 0.8477 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.6401, allocations: 1.025 MB / 0.8487 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006238/0.6407, allocations: 184.7 kB / 0.8489 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.6409, allocations: 67.14 kB / 0.849 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.6409, allocations: 0 / 0.849 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of Templates: time 0.02452/0.6654, allocations: 15.84 MB / 0.8644 GB, free: 13.98 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) Environment - environmentSimulation: