Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008068/0.0008068, allocations: 99.86 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.0008532/0.0008532, allocations: 177.3 kB / 15.94 MB, free: 228 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.155/1.155, 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.001573/0.001573, allocations: 277.5 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.7162/0.7162, allocations: 144.6 MB / 487 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003696, allocations: 13.66 kB / 0.5683 GB, free: 38.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1194, allocations: 83.09 MB / 0.6494 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.001175/0.1207, allocations: 1.024 MB / 0.6504 GB, free: 2.715 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1193/0.24, allocations: 125.2 MB / 0.7726 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.149e-05/0.2401, allocations: 0 / 0.7726 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.168e-05/0.2401, allocations: 7.938 kB / 0.7727 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.2402, allocations: 11.97 kB / 0.7727 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007441/0.2409, allocations: 239.3 kB / 0.7729 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.774e-05/0.241, allocations: 39.88 kB / 0.7729 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.2411, allocations: 4 kB / 0.7729 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.664e-05/0.2411, allocations: 23.97 kB / 0.773 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.2412, allocations: 35.89 kB / 0.773 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.2412, allocations: 4 kB / 0.773 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006079/0.2418, allocations: 279.5 kB / 0.7733 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.2419, allocations: 19.91 kB / 0.7733 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.2419, allocations: 33.7 kB / 0.7733 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.2421, allocations: 104 kB / 0.7734 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.2421, allocations: 0 / 0.7734 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2421, allocations: 0 / 0.7734 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2421, allocations: 0 / 0.7734 GB, free: 4.477 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003599/0.2425, allocations: 375.2 kB / 0.7738 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.2425, allocations: 12.03 kB / 0.7738 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.2429, allocations: 35.95 kB / 0.7738 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.681e-05/0.243, allocations: 163 kB / 0.774 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.243, allocations: 11.94 kB / 0.774 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.2431, allocations: 11.91 kB / 0.774 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.2432, allocations: 77.64 kB / 0.7741 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2432, allocations: 0 / 0.7741 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2433, allocations: 3.938 kB / 0.7741 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2433, allocations: 4 kB / 0.7741 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.132e-05/0.2434, allocations: 47.95 kB / 0.7741 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.2435, allocations: 185.5 kB / 0.7743 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.2437, allocations: 90.62 kB / 0.7744 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.2437, allocations: 4 kB / 0.7744 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.2438, allocations: 42.56 kB / 0.7744 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 2.996e-06/0.2438, allocations: 4 kB / 0.7744 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001159/0.2449, allocations: 0.541 MB / 0.775 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.245, allocations: 55.41 kB / 0.775 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.258e-05/0.245, allocations: 97.86 kB / 0.7751 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.245, allocations: 33.7 kB / 0.7751 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.31e-05/0.2451, allocations: 80.52 kB / 0.7752 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.2451, allocations: 74.89 kB / 0.7753 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.2451, allocations: 4 kB / 0.7753 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.2452, allocations: 326.7 kB / 0.7756 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.417e-05/0.2453, allocations: 35.97 kB / 0.7756 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.2454, allocations: 69.56 kB / 0.7757 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.461e-05/0.2455, allocations: 44 kB / 0.7757 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2455, allocations: 0 / 0.7757 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001903/0.2457, allocations: 153.5 kB / 0.7759 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2457, allocations: 4 kB / 0.7759 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2457, allocations: 4 kB / 0.7759 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2457, allocations: 0 / 0.7759 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.2459, allocations: 39.98 kB / 0.7759 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.2459, allocations: 8.078 kB / 0.7759 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.2459, allocations: 11.92 kB / 0.776 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.246, allocations: 12 kB / 0.776 GB, free: 1.586 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 7.373e-05/0.246, allocations: 117.8 kB / 0.7761 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.2461, allocations: 11.91 kB / 0.7761 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.2461, allocations: 16.44 kB / 0.7761 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2461, allocations: 0 / 0.7761 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2461, allocations: 0 / 0.7761 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2461, allocations: 4 kB / 0.7761 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2463, allocations: 193.6 kB / 0.7763 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2463, allocations: 0 / 0.7763 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.2465, allocations: 47.91 kB / 0.7763 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2465, allocations: 0 / 0.7763 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.2465, allocations: 8 kB / 0.7763 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2465, allocations: 0 / 0.7763 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2465, allocations: 0 / 0.7763 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.2468, allocations: 210.1 kB / 0.7766 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.2468, allocations: 89.05 kB / 0.7766 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.2469, allocations: 16.05 kB / 0.7767 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.247, allocations: 11.98 kB / 0.7767 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.247, allocations: 11.98 kB / 0.7767 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.247, allocations: 4 kB / 0.7767 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.509e-05/0.2471, allocations: 75.28 kB / 0.7767 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2471, allocations: 4 kB / 0.7768 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000203/0.2473, allocations: 28 kB / 0.7768 GB, free: 0.6641 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001157/0.2474, allocations: 111.3 kB / 0.7769 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.2476, allocations: 105.7 kB / 0.777 GB, free: 452 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.2476, allocations: 0 / 0.777 GB, free: 452 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.331e-05/0.2476, allocations: 51.86 kB / 0.777 GB, free: 400 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.2478, allocations: 19.92 kB / 0.7771 GB, free: 380 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2437/0.4915, allocations: 0.6069 MB / 0.7776 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.4917, allocations: 0.7019 MB / 0.7783 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.4918, allocations: 26.83 kB / 0.7784 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.4918, allocations: 15.25 kB / 0.7784 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.4918, allocations: 0.5625 kB / 0.7784 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of Templates: time 0.002796/0.4946, allocations: 1.011 MB / 0.7794 GB, free: 6.582 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: