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.0008845/0.0008842, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.00107/0.00107, allocations: 177.3 kB / 15.95 MB, free: 216 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.494/1.494, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.065/1.065, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003757, allocations: 8 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2142, allocations: 82.31 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.188/1.402, allocations: 305.4 MB / 0.8855 GB, free: 20.11 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04569/1.448, allocations: 39.51 MB / 0.9241 GB, free: 19.74 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006228/1.454, allocations: 136.4 kB / 0.9242 GB, free: 19.74 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.008331/1.463, allocations: 2.274 MB / 0.9265 GB, free: 19.74 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01934/1.482, allocations: 6.957 MB / 0.9333 GB, free: 19.66 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009318/1.491, allocations: 3.499 MB / 0.9367 GB, free: 19.59 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01078/1.502, allocations: 6.709 MB / 0.9432 GB, free: 19.57 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00598/1.508, allocations: 4.019 MB / 0.9471 GB, free: 18.91 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008822/1.517, allocations: 4.274 MB / 0.9513 GB, free: 18.26 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004106/1.521, allocations: 2.24 MB / 0.9535 GB, free: 17.89 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000968/1.522, allocations: 166.5 kB / 0.9537 GB, free: 17.89 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007505/1.53, allocations: 2.914 MB / 0.9565 GB, free: 17.41 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001756/1.531, allocations: 1.219 MB / 0.9577 GB, free: 17.1 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001922/1.533, allocations: 0.9986 MB / 0.9587 GB, free: 17.07 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006694/1.54, allocations: 6.313 MB / 0.9648 GB, free: 13.79 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/1.54, allocations: 0 / 0.9648 GB, free: 13.79 MB / 0.67 GB Notification: Performance of FrontEnd: time 9.11e-07/1.54, allocations: 0 / 0.9648 GB, free: 13.79 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000102/1.54, allocations: 0 / 0.9648 GB, free: 13.79 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.006858/1.547, allocations: 4.673 MB / 0.9694 GB, free: 10.95 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 2.213e-05/1.547, allocations: 9.781 kB / 0.9694 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004694/1.548, allocations: 476.7 kB / 0.9699 GB, free: 10.81 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008872/1.556, allocations: 1.924 MB / 0.9718 GB, free: 10.04 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/1.562, allocations: 3.458 MB / 0.9751 GB, free: 8.688 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001412/1.563, allocations: 0.7001 MB / 0.9758 GB, free: 8.438 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003914/1.564, allocations: 343.5 kB / 0.9761 GB, free: 8.438 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006657/1.571, allocations: 4.555 MB / 0.9806 GB, free: 7.168 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.087e-05/1.571, allocations: 4.875 kB / 0.9806 GB, free: 7.168 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002859/1.571, allocations: 139 kB / 0.9807 GB, free: 7.168 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.953e-05/1.571, allocations: 138.4 kB / 0.9809 GB, free: 7.152 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007356/1.578, allocations: 4.165 MB / 0.9849 GB, free: 5.484 MB / 0.67 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.02121/1.6, allocations: 18.86 MB / 1.003 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/1.603, allocations: 2.031 MB / 1.005 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003704/1.604, allocations: 167.1 kB / 1.005 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00238/1.606, allocations: 1.263 MB / 1.007 GB, free: 2.422 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001348/1.608, allocations: 188.6 kB / 1.007 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=135): time 2.485e-06/1.608, allocations: 0 / 1.007 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135): time 0.00731/1.615, allocations: 3.291 MB / 1.01 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.615, allocations: 224.1 kB / 1.01 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004227/1.619, allocations: 3.635 MB / 1.014 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/1.619, allocations: 61.95 kB / 1.014 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/1.621, allocations: 2.012 MB / 1.016 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/1.621, allocations: 479 kB / 1.016 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/1.621, allocations: 37.94 kB / 1.016 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.621, allocations: 369.6 kB / 1.017 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/1.624, allocations: 1.144 MB / 1.018 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002983/1.627, allocations: 1.81 MB / 1.02 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/1.63, allocations: 1.302 MB / 1.021 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/1.63, allocations: 4 kB / 1.021 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006396/1.636, allocations: 3.261 MB / 1.024 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.00185/1.638, allocations: 7.36 MB / 1.031 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/1.638, allocations: 16 kB / 1.031 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/1.638, allocations: 28 kB / 1.031 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/1.64, allocations: 0.5806 MB / 1.032 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.813e-05/1.64, allocations: 40.52 kB / 1.032 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003981/1.644, allocations: 0.6196 MB / 1.033 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/1.645, allocations: 102.1 kB / 1.033 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/1.645, allocations: 4 kB / 1.033 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00592/1.651, allocations: 2.892 MB / 1.035 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/1.651, allocations: 16 kB / 1.035 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/1.651, allocations: 28 kB / 1.036 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/1.653, allocations: 0.5788 MB / 1.036 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.576e-05/1.653, allocations: 37.7 kB / 1.036 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/1.656, allocations: 0.5327 MB / 1.037 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/1.657, allocations: 88.47 kB / 1.037 GB, free: 8.664 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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.001679/1.658, allocations: 1.139 MB / 1.038 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003978/1.659, allocations: 367.3 kB / 1.038 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/1.664, allocations: 2.497 MB / 1.041 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.664, allocations: 15.19 kB / 1.041 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.664, allocations: 8 kB / 1.041 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003685/1.667, allocations: 1.929 MB / 1.043 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/1.68, allocations: 7.84 MB / 1.05 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/1.68, allocations: 13 kB / 1.05 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/1.682, allocations: 378.6 kB / 1.051 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002338/1.682, allocations: 62.08 kB / 1.051 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/1.682, allocations: 50.66 kB / 1.051 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/1.683, allocations: 1.458 MB / 1.052 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/1.683, allocations: 14.91 kB / 1.052 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008137/1.691, allocations: 5.334 MB / 1.057 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/1.693, allocations: 0.6794 MB / 1.058 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005627/1.694, allocations: 42.73 kB / 1.058 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003179/1.697, allocations: 448.2 kB / 1.058 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/1.697, allocations: 128.2 kB / 1.059 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/1.697, allocations: 74.92 kB / 1.059 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003854/1.701, allocations: 2.518 MB / 1.061 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.061e-06/1.701, allocations: 0 / 1.061 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005602/1.707, allocations: 2.017 MB / 1.063 GB, free: 2.398 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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.009351/1.716, allocations: 8.88 MB / 1.072 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008492/1.725, allocations: 4.022 MB / 1.076 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.725, allocations: 4 kB / 1.076 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002541/1.727, allocations: 1.229 MB / 1.077 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008766/1.736, allocations: 1.897 MB / 1.079 GB, free: 4.715 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02742/1.764, allocations: 22.51 MB / 1.101 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002677/1.766, allocations: 2.744 MB / 1.103 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004567/1.771, allocations: 0.9947 MB / 1.104 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/1.773, allocations: 1.758 MB / 1.106 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of SimCode: time 1.283e-06/1.773, allocations: 0 / 1.106 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8585/2.631, allocations: 101.4 MB / 1.205 GB, free: 352.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/2.632, allocations: 262.7 kB / 1.205 GB, free: 352.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.818/7.45, allocations: 4 kB / 1.205 GB, free: 352.3 MB / 0.8262 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: