Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.451/1.451, allocations: 287.4 MB / 302.6 MB, free: 8.289 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.0008526/0.0008526, allocations: 182.7 kB / 371.1 MB, free: 10.82 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.203/1.203, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0006679/0.0006678, allocations: 90.34 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003448, allocations: 11.78 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1465, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.6009/0.7474, allocations: 347.2 MB / 1.318 GB, free: 360 kB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.04752/0.795, allocations: 43.93 MB / 1.361 GB, free: 4.324 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005028/0.8001, allocations: 139.1 kB / 1.361 GB, free: 4.188 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.004941/0.805, allocations: 1.789 MB / 1.363 GB, free: 2.387 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.01322/0.8183, allocations: 5.272 MB / 1.368 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.007061/0.8253, allocations: 2.784 MB / 1.37 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01366/0.839, allocations: 13.2 MB / 1.383 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006566/0.8456, allocations: 4.504 MB / 1.388 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/0.8559, allocations: 4.851 MB / 1.392 GB, free: 3.645 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005275/0.8612, allocations: 3.279 MB / 1.396 GB, free: 360 kB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.8623, allocations: 172 kB / 1.396 GB, free: 188 kB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00861/0.871, allocations: 3.344 MB / 1.399 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.002169/0.8731, allocations: 1.331 MB / 1.4 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.002017/0.8752, allocations: 1.003 MB / 1.401 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.008146/0.8833, allocations: 6.613 MB / 1.408 GB, free: 3.855 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8834, allocations: 4 kB / 1.408 GB, free: 3.852 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8834, allocations: 0 / 1.408 GB, free: 3.852 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002324/0.8836, allocations: 0 / 1.408 GB, free: 3.852 MB / 0.9323 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.009193/0.8928, allocations: 4.708 MB / 1.412 GB, free: 15.05 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.8929, allocations: 11.97 kB / 1.412 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001083/0.8939, allocations: 471.9 kB / 1.413 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0096/0.9036, allocations: 1.91 MB / 1.415 GB, free: 12.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007205/0.9108, allocations: 3.517 MB / 1.418 GB, free: 9.074 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001641/0.9125, allocations: 0.6892 MB / 1.419 GB, free: 8.359 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008738/0.9134, allocations: 352 kB / 1.419 GB, free: 8.016 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009867/0.9232, allocations: 4.601 MB / 1.424 GB, free: 3.316 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.636e-05/0.9233, allocations: 4 kB / 1.424 GB, free: 3.312 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004475/0.9238, allocations: 140 kB / 1.424 GB, free: 3.176 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.9239, allocations: 134.5 kB / 1.424 GB, free: 3.043 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3133/1.237, allocations: 4.185 MB / 1.428 GB, free: 349.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 preOpt removeSimpleEquations (simulation): time 0.02861/1.266, allocations: 18.8 MB / 1.446 GB, free: 337.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004229/1.27, allocations: 2.066 MB / 1.448 GB, free: 336.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002208/1.272, allocations: 1.091 MB / 1.449 GB, free: 336.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005857/1.273, allocations: 442.6 kB / 1.45 GB, free: 336.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002533/1.275, allocations: 1.265 MB / 1.451 GB, free: 335.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001679/1.277, allocations: 187.7 kB / 1.451 GB, free: 335.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=135): time 3.497e-06/1.277, allocations: 0 / 1.451 GB, free: 335.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=135): time 0.007734/1.285, allocations: 3.316 MB / 1.455 GB, free: 334.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.285, allocations: 145.1 kB / 1.455 GB, free: 334.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004933/1.29, allocations: 3.65 MB / 1.458 GB, free: 333 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001641/1.29, allocations: 62.39 kB / 1.458 GB, free: 332.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/1.291, allocations: 2.003 MB / 1.46 GB, free: 331.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/1.292, allocations: 468.2 kB / 1.461 GB, free: 331 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-05/1.292, allocations: 35.94 kB / 1.461 GB, free: 331 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.213e-05/1.292, allocations: 382.7 kB / 1.461 GB, free: 330.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002627/1.295, allocations: 1.15 MB / 1.462 GB, free: 330.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002833/1.297, allocations: 1.826 MB / 1.464 GB, free: 329.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004796/1.302, allocations: 2.698 MB / 1.467 GB, free: 327.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/1.302, allocations: 5.156 kB / 1.467 GB, free: 327.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006783/1.309, allocations: 3.265 MB / 1.47 GB, free: 326.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/1.309, allocations: 0.5987 MB / 1.47 GB, free: 325.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/1.309, allocations: 15.47 kB / 1.47 GB, free: 325.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.775e-05/1.309, allocations: 25.5 kB / 1.47 GB, free: 325.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/1.312, allocations: 0.5799 MB / 1.471 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-05/1.312, allocations: 36.05 kB / 1.471 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/1.316, allocations: 0.6165 MB / 1.472 GB, free: 325.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/1.316, allocations: 94.31 kB / 1.472 GB, free: 325.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.042e-06/1.316, allocations: 4.125 kB / 1.472 GB, free: 325.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005885/1.322, allocations: 2.907 MB / 1.475 GB, free: 324.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.322, allocations: 16.34 kB / 1.475 GB, free: 324.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/1.322, allocations: 24.44 kB / 1.475 GB, free: 324.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/1.324, allocations: 0.5818 MB / 1.475 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-05/1.324, allocations: 40.03 kB / 1.475 GB, free: 323.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00332/1.327, allocations: 0.5321 MB / 1.476 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/1.328, allocations: 97.02 kB / 1.476 GB, free: 323.7 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.001781/1.329, allocations: 1.128 MB / 1.477 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/1.33, allocations: 367.3 kB / 1.477 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005014/1.335, allocations: 2.608 MB / 1.48 GB, free: 321.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/1.335, allocations: 11.91 kB / 1.48 GB, free: 321.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.335, allocations: 0 / 1.48 GB, free: 321.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003748/1.339, allocations: 2.218 MB / 1.482 GB, free: 320 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.01051/1.349, allocations: 7.1 MB / 1.489 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/1.349, allocations: 11.81 kB / 1.489 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/1.351, allocations: 371.1 kB / 1.489 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001912/1.351, allocations: 53.86 kB / 1.489 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/1.351, allocations: 44.31 kB / 1.489 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007731/1.352, allocations: 1.443 MB / 1.491 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.352, allocations: 16 kB / 1.491 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006187/1.358, allocations: 3.881 MB / 1.495 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009227/1.359, allocations: 0.6809 MB / 1.495 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/1.359, allocations: 36.11 kB / 1.495 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002642/1.362, allocations: 444 kB / 1.496 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/1.362, allocations: 120.5 kB / 1.496 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.362, allocations: 66.27 kB / 1.496 GB, free: 310.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002759/1.365, allocations: 2.521 MB / 1.498 GB, free: 308.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.365, allocations: 3.844 kB / 1.498 GB, free: 308.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003244/1.368, allocations: 2.013 MB / 1.5 GB, free: 306.9 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.006864/1.375, allocations: 4.825 MB / 1.505 GB, free: 302 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007294/1.382, allocations: 4.053 MB / 1.509 GB, free: 297.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.383, allocations: 4.062 kB / 1.509 GB, free: 297.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/1.385, allocations: 1.206 MB / 1.51 GB, free: 296.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01126/1.396, allocations: 2.022 MB / 1.512 GB, free: 294.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04315/1.439, allocations: 28.53 MB / 1.54 GB, free: 264 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/1.441, allocations: 2.663 MB / 1.543 GB, free: 261.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004078/1.445, allocations: 0.9674 MB / 1.544 GB, free: 260.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001961/1.447, allocations: 1.784 MB / 1.545 GB, free: 258.5 MB / 0.948 GB Notification: Performance of SimCode: time 7.12e-07/1.447, allocations: 0 / 1.545 GB, free: 258.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.087/2.534, allocations: 112.8 MB / 1.656 GB, free: 146.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/2.535, allocations: 266.9 kB / 1.656 GB, free: 146.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.006/7.54, allocations: 0 / 1.656 GB, free: 146.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)