Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001236/0.001236, allocations: 114.6 kB / 16.42 MB, free: 6.012 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.001185/0.001185, allocations: 182.3 kB / 17.35 MB, free: 5.629 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7821/0.7821, allocations: 132.2 MB / 423.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.06 kB / 0.582 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.142, allocations: 80.21 MB / 0.6604 GB, free: 10.36 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.7705/0.9126, allocations: 379.2 MB / 1.031 GB, free: 10.14 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6056/1.518, allocations: 44.41 MB / 1.074 GB, free: 16.33 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009272/1.528, allocations: 172.3 kB / 1.074 GB, free: 16.33 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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.008983/1.537, allocations: 2.888 MB / 1.077 GB, free: 16.33 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02587/1.562, allocations: 7.565 MB / 1.084 GB, free: 16.15 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01211/1.575, allocations: 3.788 MB / 1.088 GB, free: 16.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01935/1.594, allocations: 11.53 MB / 1.099 GB, free: 16.06 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01154/1.606, allocations: 5.559 MB / 1.105 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0179/1.624, allocations: 6.565 MB / 1.111 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009587/1.633, allocations: 3.61 MB / 1.115 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0027/1.636, allocations: 496 kB / 1.115 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01771/1.654, allocations: 6.182 MB / 1.121 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.004472/1.658, allocations: 1.727 MB / 1.123 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.008784/1.667, allocations: 2.775 MB / 1.126 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02287/1.69, allocations: 9.303 MB / 1.135 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.69, allocations: 0 / 1.135 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.994e-06/1.69, allocations: 0 / 1.135 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003379/1.69, allocations: 0 / 1.135 GB, free: 12.79 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.01683/1.707, allocations: 5.659 MB / 1.14 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/1.707, allocations: 10.56 kB / 1.14 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/1.72, allocations: 1.789 MB / 1.142 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/1.73, allocations: 3.746 MB / 1.146 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004264/1.73, allocations: 382.7 kB / 1.146 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001448/1.732, allocations: 350.6 kB / 1.146 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/1.745, allocations: 4.466 MB / 1.151 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/1.746, allocations: 5.812 kB / 1.151 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001021/1.747, allocations: 140.4 kB / 1.151 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/1.747, allocations: 135.5 kB / 1.151 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/1.757, allocations: 3.894 MB / 1.155 GB, free: 6.352 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.03088/1.788, allocations: 18.76 MB / 1.173 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003899/1.792, allocations: 1.763 MB / 1.175 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/1.794, allocations: 0.906 MB / 1.176 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006725/1.794, allocations: 406.7 kB / 1.176 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002508/1.797, allocations: 1.072 MB / 1.177 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=129): time 3.596e-06/1.797, allocations: 3.938 kB / 1.177 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=129): time 0.008068/1.805, allocations: 2.821 MB / 1.18 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/1.805, allocations: 145.8 kB / 1.18 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005337/1.81, allocations: 3.475 MB / 1.183 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003069/1.811, allocations: 53.7 kB / 1.184 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001805/1.813, allocations: 2.139 MB / 1.186 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004832/1.813, allocations: 473 kB / 1.186 GB, free: 9 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007034/1.814, allocations: 483.8 kB / 1.187 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/1.814, allocations: 301.1 kB / 1.187 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002565/1.816, allocations: 1.014 MB / 1.188 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/1.82, allocations: 2.074 MB / 1.19 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005423/1.825, allocations: 3.014 MB / 1.193 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.432e-05/1.825, allocations: 16 kB / 1.193 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007633/1.833, allocations: 3.301 MB / 1.196 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.671e-05/1.833, allocations: 53.62 kB / 1.196 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.049e-05/1.833, allocations: 32 kB / 1.196 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.261e-05/1.833, allocations: 44 kB / 1.196 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/1.836, allocations: 0.6195 MB / 1.197 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.168e-05/1.836, allocations: 64.16 kB / 1.197 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003718/1.839, allocations: 441.1 kB / 1.197 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/1.84, allocations: 129 kB / 1.197 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0047/1.844, allocations: 1.918 MB / 1.199 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0033/1.848, allocations: 2.047 MB / 1.201 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005266/1.853, allocations: 2.963 MB / 1.204 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.511e-05/1.853, allocations: 12 kB / 1.204 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.00745/1.86, allocations: 3.239 MB / 1.207 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/1.86, allocations: 55.67 kB / 1.207 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.764e-05/1.861, allocations: 35.98 kB / 1.207 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.073e-05/1.861, allocations: 44 kB / 1.207 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/1.863, allocations: 0.6109 MB / 1.208 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.529e-05/1.863, allocations: 68.62 kB / 1.208 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003653/1.867, allocations: 371.3 kB / 1.208 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/1.867, allocations: 124 kB / 1.209 GB, free: 0.8242 MB / 0.8575 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.0006087/1.868, allocations: 347.1 kB / 1.209 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008669/1.869, allocations: 371.3 kB / 1.209 GB, free: 156 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/1.874, allocations: 2.27 MB / 1.211 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00399/1.878, allocations: 1.896 MB / 1.213 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.878, allocations: 4 kB / 1.213 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/1.88, allocations: 0.6094 MB / 1.214 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001218/1.881, allocations: 20 kB / 1.214 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.884, allocations: 159.9 kB / 1.214 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/1.884, allocations: 81.19 kB / 1.214 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005416/1.89, allocations: 1.987 MB / 1.216 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007216/1.897, allocations: 3.215 MB / 1.219 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001878/1.899, allocations: 0.8178 MB / 1.22 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.005364/1.904, allocations: 2.344 MB / 1.222 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of Backend: time 6.02e-07/1.904, allocations: 0 / 1.222 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01492/1.919, allocations: 4.357 MB / 1.227 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of SimCode: time 0.01887/1.938, allocations: 8.427 MB / 1.235 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of Templates: time 0.1356/2.074, allocations: 84.75 MB / 1.318 GB, free: 2.352 MB / 0.9669 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)