Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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: translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 99.47 kB / 16.4 MB, free: 6.504 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.001144/0.001144, allocations: 185.6 kB / 17.34 MB, free: 5.77 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.185/1.185, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7122/0.7122, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 65.62 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1356, allocations: 80.93 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.6529/0.7885, allocations: 379.2 MB / 1.036 GB, free: 3.363 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.4825/1.271, allocations: 44.4 MB / 1.079 GB, free: 16.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005871/1.277, allocations: 172.5 kB / 1.079 GB, free: 16.27 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.006785/1.284, allocations: 2.812 MB / 1.082 GB, free: 16.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01714/1.301, allocations: 7.277 MB / 1.089 GB, free: 16.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008988/1.31, allocations: 3.773 MB / 1.093 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01423/1.324, allocations: 11.52 MB / 1.104 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007935/1.332, allocations: 5.558 MB / 1.109 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01479/1.347, allocations: 6.382 MB / 1.116 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007912/1.355, allocations: 3.613 MB / 1.119 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002016/1.357, allocations: 497.9 kB / 1.12 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01373/1.371, allocations: 6.161 MB / 1.126 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003076/1.374, allocations: 1.724 MB / 1.127 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.007231/1.381, allocations: 2.774 MB / 1.13 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01725/1.398, allocations: 9.292 MB / 1.139 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.398, allocations: 3.188 kB / 1.139 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/1.398, allocations: 0 / 1.139 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002674/1.399, allocations: 0 / 1.139 GB, free: 12.58 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01369/1.412, allocations: 5.655 MB / 1.145 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/1.412, allocations: 9.484 kB / 1.145 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/1.423, allocations: 1.791 MB / 1.146 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007246/1.43, allocations: 3.747 MB / 1.15 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/1.43, allocations: 391 kB / 1.15 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006483/1.431, allocations: 341.8 kB / 1.151 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008725/1.44, allocations: 4.468 MB / 1.155 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.648e-05/1.44, allocations: 5.656 kB / 1.155 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003084/1.44, allocations: 141.5 kB / 1.155 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/1.44, allocations: 141.1 kB / 1.155 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007482/1.447, allocations: 3.893 MB / 1.159 GB, free: 4.852 MB / 0.8106 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.0261/1.474, allocations: 18.76 MB / 1.178 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/1.477, allocations: 1.757 MB / 1.179 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/1.479, allocations: 0.9038 MB / 1.18 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006154/1.48, allocations: 407.2 kB / 1.181 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002343/1.482, allocations: 1.068 MB / 1.182 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=129): time 3.587e-06/1.482, allocations: 0 / 1.182 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=129): time 0.007708/1.49, allocations: 2.825 MB / 1.184 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.49, allocations: 148.1 kB / 1.184 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006471/1.497, allocations: 3.468 MB / 1.188 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002451/1.497, allocations: 65.69 kB / 1.188 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.002089/1.499, allocations: 2.138 MB / 1.19 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000482/1.5, allocations: 468 kB / 1.19 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008534/1.5, allocations: 484.9 kB / 1.191 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.014e-05/1.5, allocations: 301.1 kB / 1.191 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/1.503, allocations: 1.014 MB / 1.192 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/1.506, allocations: 2.07 MB / 1.194 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005211/1.511, allocations: 3.022 MB / 1.197 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.373e-05/1.511, allocations: 8 kB / 1.197 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007329/1.519, allocations: 3.305 MB / 1.2 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/1.519, allocations: 45.7 kB / 1.2 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.877e-05/1.519, allocations: 32 kB / 1.2 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.099e-05/1.519, allocations: 44 kB / 1.201 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/1.521, allocations: 0.6176 MB / 1.201 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-05/1.521, allocations: 64.25 kB / 1.201 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003435/1.525, allocations: 446.3 kB / 1.202 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/1.525, allocations: 128 kB / 1.202 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00414/1.529, allocations: 1.918 MB / 1.204 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003178/1.532, allocations: 2.046 MB / 1.206 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005136/1.538, allocations: 2.956 MB / 1.208 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-05/1.538, allocations: 8 kB / 1.208 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.007209/1.545, allocations: 3.258 MB / 1.212 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/1.545, allocations: 45.81 kB / 1.212 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.932e-05/1.545, allocations: 39.88 kB / 1.212 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.852e-05/1.545, allocations: 44 kB / 1.212 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/1.547, allocations: 0.6095 MB / 1.212 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-05/1.547, allocations: 67.53 kB / 1.212 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00353/1.551, allocations: 374.8 kB / 1.213 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/1.551, allocations: 120 kB / 1.213 GB, free: 12.72 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 283 * Array equations: 3 * Algorithm blocks: 1 * 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.0005527/1.552, allocations: 352.4 kB / 1.213 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008162/1.553, allocations: 359.4 kB / 1.214 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00528/1.558, allocations: 2.275 MB / 1.216 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/1.558, allocations: 12 kB / 1.216 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/1.558, allocations: 4 kB / 1.216 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003815/1.562, allocations: 1.901 MB / 1.218 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/1.574, allocations: 6.104 MB / 1.224 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/1.574, allocations: 8 kB / 1.224 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/1.576, allocations: 318.3 kB / 1.224 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002208/1.576, allocations: 56.02 kB / 1.224 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/1.576, allocations: 43.97 kB / 1.224 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/1.578, allocations: 1.543 MB / 1.226 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.578, allocations: 23.31 kB / 1.226 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006993/1.585, allocations: 3.32 MB / 1.229 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/1.586, allocations: 0.6171 MB / 1.229 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008029/1.587, allocations: 39.94 kB / 1.229 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/1.59, allocations: 163.9 kB / 1.23 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/1.59, allocations: 115.2 kB / 1.23 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/1.59, allocations: 59.97 kB / 1.23 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.004532/1.594, allocations: 2.344 MB / 1.232 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.1e-07/1.595, allocations: 0 / 1.232 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.006304/1.601, allocations: 1.994 MB / 1.234 GB, free: 6.668 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001209/1.602, allocations: 496.8 kB / 1.234 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.008713/1.611, allocations: 3.819 MB / 1.238 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.611, allocations: 256 / 1.238 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002311/1.613, allocations: 1.005 MB / 1.239 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008246/1.621, allocations: 1.736 MB / 1.241 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/1.638, allocations: 7.784 MB / 1.249 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003218/1.642, allocations: 2.646 MB / 1.251 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/1.643, allocations: 275.4 kB / 1.251 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of SimCode: time 1.021e-06/1.643, allocations: 0 / 1.251 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of Templates: time 0.09766/1.741, allocations: 74.07 MB / 1.324 GB, free: 11.45 MB / 0.9825 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)