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: "" <> buildModelFMU(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000934/0.0009339, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001161/0.00116, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9375/0.9375, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 9.125 kB / 0.5071 GB, free: 5.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1892, allocations: 82.32 MB / 0.5875 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.133/1.322, allocations: 347 MB / 0.9263 GB, free: 22.73 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.05259/1.375, allocations: 41.43 MB / 0.9668 GB, free: 22.01 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009281/1.384, allocations: 145.5 kB / 0.9669 GB, free: 22.01 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007796/1.392, allocations: 1.784 MB / 0.9686 GB, free: 21.98 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01984/1.412, allocations: 5.289 MB / 0.9738 GB, free: 21.64 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01112/1.423, allocations: 2.776 MB / 0.9765 GB, free: 21.02 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02225/1.445, allocations: 13.07 MB / 0.9893 GB, free: 18.5 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/1.457, allocations: 3.948 MB / 0.9931 GB, free: 17.13 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01352/1.47, allocations: 4.866 MB / 0.9979 GB, free: 16.3 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007179/1.478, allocations: 3.283 MB / 1.001 GB, free: 15.2 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001759/1.479, allocations: 171 kB / 1.001 GB, free: 15.2 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01439/1.494, allocations: 3.354 MB / 1.005 GB, free: 13.11 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003984/1.498, allocations: 1.331 MB / 1.006 GB, free: 12.04 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003636/1.501, allocations: 0.9989 MB / 1.007 GB, free: 11.39 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01184/1.513, allocations: 6.636 MB / 1.013 GB, free: 5.781 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/1.513, allocations: 2.875 kB / 1.013 GB, free: 5.781 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.878e-06/1.513, allocations: 0 / 1.013 GB, free: 5.781 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003463/1.514, allocations: 0 / 1.013 GB, free: 5.781 MB / 0.67 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.01193/1.526, allocations: 4.762 MB / 1.018 GB, free: 1.355 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.526, allocations: 8.031 kB / 1.018 GB, free: 1.348 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001673/1.527, allocations: 471.4 kB / 1.018 GB, free: 1.09 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/1.538, allocations: 1.91 MB / 1.02 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009682/1.548, allocations: 3.408 MB / 1.024 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001689/1.55, allocations: 0.6943 MB / 1.024 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/1.551, allocations: 343.9 kB / 1.025 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/1.561, allocations: 4.61 MB / 1.029 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001261/1.561, allocations: 11.92 kB / 1.029 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003567/1.562, allocations: 137.4 kB / 1.029 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/1.562, allocations: 129.7 kB / 1.029 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009791/1.572, allocations: 4.183 MB / 1.033 GB, free: 5.488 MB / 0.6856 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.0325/1.604, allocations: 18.8 MB / 1.052 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00432/1.608, allocations: 2.069 MB / 1.054 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002341/1.611, allocations: 1.087 MB / 1.055 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007527/1.612, allocations: 445.5 kB / 1.055 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002798/1.614, allocations: 1.28 MB / 1.057 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002573/1.617, allocations: 176.7 kB / 1.057 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=135): time 6.252e-06/1.617, allocations: 4 kB / 1.057 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of matching and sorting (n=135): time 0.008844/1.626, allocations: 3.312 MB / 1.06 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/1.626, allocations: 145.8 kB / 1.06 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006508/1.633, allocations: 3.66 MB / 1.064 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004812/1.633, allocations: 65.45 kB / 1.064 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001901/1.635, allocations: 2.013 MB / 1.066 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007288/1.636, allocations: 475 kB / 1.066 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/1.636, allocations: 36.88 kB / 1.066 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001842/1.636, allocations: 373.5 kB / 1.067 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002966/1.639, allocations: 1.155 MB / 1.068 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003426/1.642, allocations: 1.823 MB / 1.069 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/1.646, allocations: 1.316 MB / 1.071 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/1.646, allocations: 4 kB / 1.071 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.008261/1.654, allocations: 3.263 MB / 1.074 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004691/1.654, allocations: 0.5977 MB / 1.075 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/1.654, allocations: 16 kB / 1.075 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.87e-05/1.654, allocations: 32 kB / 1.075 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/1.657, allocations: 0.5812 MB / 1.075 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.731e-05/1.657, allocations: 35.86 kB / 1.075 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005087/1.662, allocations: 0.6242 MB / 1.076 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/1.663, allocations: 93.77 kB / 1.076 GB, free: 376 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.663, allocations: 4 kB / 1.076 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007063/1.67, allocations: 2.914 MB / 1.079 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.342e-05/1.67, allocations: 16 kB / 1.079 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/1.67, allocations: 28 kB / 1.079 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/1.673, allocations: 0.5735 MB / 1.079 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.437e-05/1.673, allocations: 39.81 kB / 1.079 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004687/1.677, allocations: 0.5425 MB / 1.08 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000276/1.678, allocations: 87.97 kB / 1.08 GB, free: 12.16 MB / 0.7325 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.002618/1.68, allocations: 1.121 MB / 1.081 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008977/1.681, allocations: 371.3 kB / 1.081 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006037/1.687, allocations: 2.609 MB / 1.084 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/1.687, allocations: 12 kB / 1.084 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.687, allocations: 0 / 1.084 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004662/1.692, allocations: 2.218 MB / 1.086 GB, free: 5.695 MB / 0.7325 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.01586/1.708, allocations: 7.12 MB / 1.093 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.708, allocations: 12.12 kB / 1.093 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/1.71, allocations: 367.5 kB / 1.093 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002516/1.71, allocations: 64.83 kB / 1.094 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/1.71, allocations: 43.98 kB / 1.094 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/1.711, allocations: 1.445 MB / 1.095 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/1.711, allocations: 11.94 kB / 1.095 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008119/1.72, allocations: 3.875 MB / 1.099 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002201/1.722, allocations: 0.6837 MB / 1.099 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000582/1.722, allocations: 43.94 kB / 1.099 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003102/1.726, allocations: 439.3 kB / 1.1 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/1.726, allocations: 112.7 kB / 1.1 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.726, allocations: 71.97 kB / 1.1 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004586/1.731, allocations: 2.537 MB / 1.103 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/1.731, allocations: 0 / 1.103 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00557/1.736, allocations: 2.014 MB / 1.105 GB, free: 2.359 MB / 0.7481 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.0093/1.745, allocations: 4.826 MB / 1.109 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00922/1.755, allocations: 4.05 MB / 1.113 GB, free: 9.359 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/1.755, allocations: 0.8125 kB / 1.113 GB, free: 9.359 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002805/1.758, allocations: 1.216 MB / 1.114 GB, free: 8.133 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009647/1.767, allocations: 1.92 MB / 1.116 GB, free: 6.238 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07368/1.841, allocations: 28.65 MB / 1.144 GB, free: 7.324 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/1.844, allocations: 2.658 MB / 1.147 GB, free: 4.629 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005316/1.849, allocations: 0.9791 MB / 1.148 GB, free: 3.648 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002965/1.852, allocations: 1.753 MB / 1.15 GB, free: 1.895 MB / 0.795 GB Notification: Performance of SimCode: time 9.41e-07/1.852, allocations: 0 / 1.15 GB, free: 1.895 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.557/2.409, allocations: 104.1 MB / 1.251 GB, free: 311.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/2.41, allocations: 259.8 kB / 1.251 GB, free: 310.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.854/7.264, allocations: 0 / 1.251 GB, free: 310.9 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) Environment - environmentSimulation: