Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.693/1.693, allocations: 288.4 MB / 303.7 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001018, allocations: 178.4 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 0.631 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009447/0.0009446, allocations: 106.2 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004565, allocations: 12.03 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2606, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.9383/1.199, allocations: 347.2 MB / 1.319 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.06617/1.265, allocations: 43.92 MB / 1.362 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008219/1.273, allocations: 143 kB / 1.362 GB, free: 3.016 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.007931/1.281, allocations: 2.055 MB / 1.364 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0197/1.301, allocations: 6.188 MB / 1.37 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00922/1.31, allocations: 2.86 MB / 1.373 GB, free: 7.91 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.02286/1.333, allocations: 13.21 MB / 1.386 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00777/1.341, allocations: 4.522 MB / 1.39 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01311/1.354, allocations: 5.21 MB / 1.395 GB, free: 0.8281 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007258/1.361, allocations: 3.284 MB / 1.399 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.001113/1.363, allocations: 172 kB / 1.399 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0147/1.377, allocations: 6.725 MB / 1.405 GB, free: 6.625 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.003369/1.381, allocations: 1.32 MB / 1.407 GB, free: 5.301 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.005356/1.386, allocations: 2.268 MB / 1.409 GB, free: 3.016 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0125/1.399, allocations: 6.925 MB / 1.416 GB, free: 12.07 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/1.399, allocations: 3.938 kB / 1.416 GB, free: 12.07 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.907e-06/1.399, allocations: 4 kB / 1.416 GB, free: 12.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002754/1.399, allocations: 3.938 kB / 1.416 GB, free: 12.06 MB / 0.948 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.0105/1.41, allocations: 4.7 MB / 1.42 GB, free: 7.273 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.41, allocations: 8.031 kB / 1.42 GB, free: 7.266 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/1.42, allocations: 1.914 MB / 1.422 GB, free: 5.344 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007896/1.428, allocations: 3.523 MB / 1.426 GB, free: 1.758 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001794/1.43, allocations: 0.6931 MB / 1.426 GB, free: 1.039 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/1.431, allocations: 352 kB / 1.427 GB, free: 0.6953 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5599/1.991, allocations: 4.588 MB / 1.431 GB, free: 349.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.899e-05/1.991, allocations: 7.438 kB / 1.431 GB, free: 349.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003981/1.992, allocations: 144.1 kB / 1.431 GB, free: 349.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/1.992, allocations: 136.1 kB / 1.431 GB, free: 349.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/2.005, allocations: 4.185 MB / 1.435 GB, free: 347.9 MB / 0.948 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.04261/2.047, allocations: 18.79 MB / 1.454 GB, free: 335.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005559/2.053, allocations: 2.068 MB / 1.456 GB, free: 335.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002917/2.056, allocations: 1.087 MB / 1.457 GB, free: 334.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008872/2.057, allocations: 444.6 kB / 1.457 GB, free: 334.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00351/2.06, allocations: 1.276 MB / 1.459 GB, free: 334 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002799/2.063, allocations: 185.7 kB / 1.459 GB, free: 333.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=135): time 2.09e-05/2.063, allocations: 0 / 1.459 GB, free: 333.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=135): time 0.01126/2.075, allocations: 3.31 MB / 1.462 GB, free: 332.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.585e-05/2.075, allocations: 143.5 kB / 1.462 GB, free: 332.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01109/2.086, allocations: 3.644 MB / 1.466 GB, free: 330.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007067/2.087, allocations: 62.91 kB / 1.466 GB, free: 330.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002565/2.089, allocations: 2.012 MB / 1.468 GB, free: 329 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/2.09, allocations: 469.1 kB / 1.468 GB, free: 328.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003906/2.091, allocations: 35.69 kB / 1.468 GB, free: 328.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001972/2.091, allocations: 384.5 kB / 1.469 GB, free: 328.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003707/2.095, allocations: 1.145 MB / 1.47 GB, free: 327.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004168/2.099, allocations: 1.83 MB / 1.471 GB, free: 326.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007217/2.106, allocations: 2.704 MB / 1.474 GB, free: 324.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.474e-05/2.106, allocations: 5.031 kB / 1.474 GB, free: 324.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01092/2.117, allocations: 3.26 MB / 1.477 GB, free: 323 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007003/2.118, allocations: 0.5906 MB / 1.478 GB, free: 322.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.27e-05/2.118, allocations: 16.91 kB / 1.478 GB, free: 322.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001007/2.118, allocations: 29.34 kB / 1.478 GB, free: 322.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003217/2.121, allocations: 0.5793 MB / 1.478 GB, free: 322.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.081e-05/2.121, allocations: 33.94 kB / 1.478 GB, free: 322.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006299/2.128, allocations: 0.6241 MB / 1.479 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005683/2.128, allocations: 94.88 kB / 1.479 GB, free: 321.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/2.128, allocations: 3.344 kB / 1.479 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008606/2.137, allocations: 2.913 MB / 1.482 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.754e-05/2.137, allocations: 19.91 kB / 1.482 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/2.137, allocations: 23.72 kB / 1.482 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/2.14, allocations: 0.5698 MB / 1.483 GB, free: 320.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-05/2.14, allocations: 39.48 kB / 1.483 GB, free: 320.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00563/2.146, allocations: 0.5386 MB / 1.483 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003906/2.146, allocations: 91.31 kB / 1.483 GB, free: 320 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 226 * Array equations: 3 * Algorithm blocks: 1 * 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.003389/2.149, allocations: 1.129 MB / 1.484 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00163/2.151, allocations: 364.9 kB / 1.485 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007414/2.159, allocations: 2.605 MB / 1.487 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/2.159, allocations: 15.81 kB / 1.487 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/2.159, allocations: 3.938 kB / 1.487 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004681/2.163, allocations: 2.207 MB / 1.489 GB, free: 316.3 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.01914/2.182, allocations: 7.117 MB / 1.496 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.993e-05/2.183, allocations: 8.688 kB / 1.496 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/2.185, allocations: 367.5 kB / 1.497 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/2.185, allocations: 64.83 kB / 1.497 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002136/2.185, allocations: 41.73 kB / 1.497 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/2.186, allocations: 1.441 MB / 1.498 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/2.186, allocations: 15.88 kB / 1.498 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008462/2.195, allocations: 3.871 MB / 1.502 GB, free: 304.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002773/2.198, allocations: 0.6838 MB / 1.503 GB, free: 304.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0013/2.199, allocations: 39.92 kB / 1.503 GB, free: 304.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004601/2.203, allocations: 433.5 kB / 1.503 GB, free: 303.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/2.204, allocations: 124.6 kB / 1.503 GB, free: 303.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/2.204, allocations: 63.95 kB / 1.503 GB, free: 303.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005799/2.21, allocations: 2.521 MB / 1.506 GB, free: 301.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/2.21, allocations: 4 kB / 1.506 GB, free: 301.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008619/2.219, allocations: 2.015 MB / 1.508 GB, free: 299.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001646/2.22, allocations: 0.4922 MB / 1.508 GB, free: 298.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01091/2.231, allocations: 4.052 MB / 1.512 GB, free: 294.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.203e-05/2.231, allocations: 4 kB / 1.512 GB, free: 294.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003138/2.234, allocations: 1.21 MB / 1.513 GB, free: 293.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01591/2.25, allocations: 2.018 MB / 1.515 GB, free: 291.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/2.267, allocations: 9.225 MB / 1.524 GB, free: 282 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00192/2.269, allocations: 2.669 MB / 1.527 GB, free: 279.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005441/2.275, allocations: 0.9674 MB / 1.528 GB, free: 278.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/2.276, allocations: 299.4 kB / 1.528 GB, free: 278 MB / 0.948 GB Notification: Performance of SimCode: time 9.62e-07/2.276, allocations: 0 / 1.528 GB, free: 278 MB / 0.948 GB Notification: Performance of Templates: time 0.1287/2.405, allocations: 75.26 MB / 1.602 GB, free: 203.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)