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.001187/0.001186, allocations: 108.6 kB / 16.41 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.001247/0.001247, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.358/1.358, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8456/0.8456, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 65.61 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1885, allocations: 80.91 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter exh.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.8575/1.046, allocations: 379.2 MB / 1.036 GB, free: 3.312 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5983/1.644, allocations: 44.4 MB / 1.079 GB, free: 16.23 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006829/1.651, allocations: 172.5 kB / 1.079 GB, free: 16.23 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.007951/1.659, allocations: 2.888 MB / 1.082 GB, free: 16.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01987/1.679, allocations: 7.562 MB / 1.089 GB, free: 16.01 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009674/1.689, allocations: 3.792 MB / 1.093 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01688/1.706, allocations: 11.53 MB / 1.104 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007195/1.713, allocations: 5.561 MB / 1.11 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01397/1.727, allocations: 6.564 MB / 1.116 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00794/1.735, allocations: 3.619 MB / 1.12 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001778/1.737, allocations: 499.2 kB / 1.12 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01643/1.753, allocations: 6.178 MB / 1.126 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.004271/1.758, allocations: 1.729 MB / 1.128 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.006969/1.765, allocations: 2.769 MB / 1.131 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01809/1.783, allocations: 9.304 MB / 1.14 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/1.783, allocations: 2.312 kB / 1.14 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.754e-06/1.783, allocations: 0 / 1.14 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002103/1.783, allocations: 0 / 1.14 GB, free: 12.54 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.01326/1.796, allocations: 5.656 MB / 1.145 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/1.796, allocations: 10.7 kB / 1.145 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/1.807, allocations: 1.793 MB / 1.147 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008138/1.815, allocations: 3.743 MB / 1.151 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/1.815, allocations: 387.2 kB / 1.151 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008268/1.816, allocations: 345.6 kB / 1.151 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009214/1.825, allocations: 4.466 MB / 1.156 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.508e-05/1.825, allocations: 5.625 kB / 1.156 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003619/1.826, allocations: 138.8 kB / 1.156 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/1.826, allocations: 137.5 kB / 1.156 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008337/1.834, allocations: 3.895 MB / 1.16 GB, free: 4.531 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.02992/1.864, allocations: 18.76 MB / 1.178 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004035/1.868, allocations: 1.761 MB / 1.18 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/1.87, allocations: 0.9021 MB / 1.181 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006512/1.871, allocations: 411.8 kB / 1.181 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002339/1.873, allocations: 1.067 MB / 1.182 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=129): time 2.995e-06/1.873, allocations: 0 / 1.182 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=129): time 0.007834/1.881, allocations: 2.826 MB / 1.185 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/1.881, allocations: 145.8 kB / 1.185 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005405/1.887, allocations: 3.472 MB / 1.188 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002947/1.887, allocations: 61.7 kB / 1.189 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001968/1.889, allocations: 2.138 MB / 1.191 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005171/1.889, allocations: 464.8 kB / 1.191 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007304/1.89, allocations: 491.8 kB / 1.192 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/1.89, allocations: 301.1 kB / 1.192 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002472/1.893, allocations: 1.006 MB / 1.193 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003554/1.896, allocations: 2.079 MB / 1.195 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005132/1.901, allocations: 3.016 MB / 1.198 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/1.901, allocations: 8 kB / 1.198 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007415/1.909, allocations: 3.302 MB / 1.201 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.743e-05/1.909, allocations: 53.62 kB / 1.201 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.442e-05/1.909, allocations: 28 kB / 1.201 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.287e-05/1.909, allocations: 48 kB / 1.201 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/1.911, allocations: 0.6146 MB / 1.202 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.188e-05/1.912, allocations: 64.16 kB / 1.202 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004013/1.916, allocations: 448.6 kB / 1.202 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002715/1.916, allocations: 132 kB / 1.202 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005512/1.921, allocations: 1.918 MB / 1.204 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003982/1.925, allocations: 2.051 MB / 1.206 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00538/1.931, allocations: 2.957 MB / 1.209 GB, free: 408 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.774e-05/1.931, allocations: 12.48 kB / 1.209 GB, free: 396 kB / 0.8575 GB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.007133/1.938, allocations: 3.248 MB / 1.212 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/1.938, allocations: 49.7 kB / 1.212 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/1.938, allocations: 32 kB / 1.212 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.367e-05/1.938, allocations: 44 kB / 1.212 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/1.94, allocations: 0.6093 MB / 1.213 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.48e-05/1.941, allocations: 64.72 kB / 1.213 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/1.944, allocations: 373 kB / 1.213 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/1.944, allocations: 122 kB / 1.214 GB, free: 12.1 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.0005654/1.945, allocations: 353.5 kB / 1.214 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005131/1.945, allocations: 363.4 kB / 1.214 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005159/1.95, allocations: 2.262 MB / 1.216 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003885/1.954, allocations: 1.904 MB / 1.218 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.954, allocations: 48 / 1.218 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/1.956, allocations: 0.6133 MB / 1.219 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/1.956, allocations: 24 kB / 1.219 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/1.958, allocations: 155.9 kB / 1.219 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/1.958, allocations: 83.81 kB / 1.219 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005121/1.964, allocations: 1.989 MB / 1.221 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00659/1.97, allocations: 3.213 MB / 1.224 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001798/1.972, allocations: 0.8183 MB / 1.225 GB, free: 236 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003774/1.976, allocations: 2.344 MB / 1.227 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of Backend: time 5.51e-07/1.976, allocations: 0 / 1.227 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01297/1.989, allocations: 4.371 MB / 1.232 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of SimCode: time 0.01647/2.005, allocations: 8.421 MB / 1.24 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of Templates: time 0.1289/2.134, allocations: 84.76 MB / 1.323 GB, free: 13.56 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)