Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",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.001524/0.001524, allocations: 106.4 kB / 16.4 MB, free: 6.457 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.001722/0.001722, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7523/0.7523, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.94 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1708, allocations: 76.17 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.754/0.9248, allocations: 342.8 MB / 0.9664 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05239/0.9773, allocations: 38.38 MB / 1.004 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006779/0.9841, allocations: 139.2 kB / 1.004 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00919/0.9934, allocations: 3.14 MB / 1.007 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01624/1.01, allocations: 5.946 MB / 1.013 GB, free: 5.652 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007808/1.018, allocations: 3.128 MB / 1.016 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01777/1.035, allocations: 11.47 MB / 1.027 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007128/1.042, allocations: 4.216 MB / 1.031 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/1.054, allocations: 4.99 MB / 1.036 GB, free: 13.75 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006285/1.061, allocations: 2.78 MB / 1.039 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0009619/1.062, allocations: 380 kB / 1.039 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01111/1.073, allocations: 5.309 MB / 1.044 GB, free: 5.277 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001972/1.075, allocations: 1.402 MB / 1.046 GB, free: 3.871 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003373/1.078, allocations: 2.263 MB / 1.048 GB, free: 1.598 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.5168/1.595, allocations: 7.708 MB / 1.055 GB, free: 36.52 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/1.595, allocations: 0.5625 kB / 1.055 GB, free: 36.52 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/1.595, allocations: 1.594 kB / 1.055 GB, free: 36.52 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001691/1.595, allocations: 0 / 1.055 GB, free: 36.52 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.01236/1.608, allocations: 4.792 MB / 1.06 GB, free: 34.53 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/1.608, allocations: 11.12 kB / 1.06 GB, free: 34.53 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005807/1.608, allocations: 361.6 kB / 1.061 GB, free: 34.48 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008645/1.617, allocations: 1.484 MB / 1.062 GB, free: 34.25 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008444/1.625, allocations: 3.905 MB / 1.066 GB, free: 33.54 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/1.626, allocations: 291 kB / 1.066 GB, free: 33.43 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005462/1.626, allocations: 256.5 kB / 1.066 GB, free: 33.43 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006494/1.633, allocations: 3.369 MB / 1.07 GB, free: 33.13 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.249e-05/1.633, allocations: 10.06 kB / 1.07 GB, free: 33.12 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002586/1.633, allocations: 105.7 kB / 1.07 GB, free: 33.12 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-05/1.633, allocations: 106 kB / 1.07 GB, free: 33.12 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006164/1.639, allocations: 2.98 MB / 1.073 GB, free: 33.09 MB / 0.795 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.02015/1.66, allocations: 14.57 MB / 1.087 GB, free: 25.95 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003144/1.663, allocations: 1.575 MB / 1.088 GB, free: 25.72 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/1.664, allocations: 0.6934 MB / 1.089 GB, free: 25.7 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003597/1.664, allocations: 304.5 kB / 1.089 GB, free: 25.42 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/1.666, allocations: 0.8063 MB / 1.09 GB, free: 25.35 MB / 0.795 GB Notification: Performance of pre-optimization done (n=103): time 2.545e-06/1.666, allocations: 0 / 1.09 GB, free: 25.35 MB / 0.795 GB Notification: Performance of matching and sorting (n=103): time 0.00708/1.673, allocations: 2.183 MB / 1.092 GB, free: 25.04 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/1.673, allocations: 120.9 kB / 1.092 GB, free: 24.91 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005525/1.679, allocations: 3.191 MB / 1.096 GB, free: 24.63 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002185/1.679, allocations: 50.64 kB / 1.096 GB, free: 24.6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001302/1.68, allocations: 1.728 MB / 1.097 GB, free: 23.99 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/1.681, allocations: 375.8 kB / 1.098 GB, free: 23.77 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006667/1.681, allocations: 473.8 kB / 1.098 GB, free: 23.72 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.725e-05/1.681, allocations: 304.9 kB / 1.098 GB, free: 23.42 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/1.683, allocations: 0.9376 MB / 1.099 GB, free: 23.4 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/1.686, allocations: 1.697 MB / 1.101 GB, free: 22.52 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003809/1.69, allocations: 2.492 MB / 1.103 GB, free: 21.66 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/1.69, allocations: 7.125 kB / 1.103 GB, free: 21.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006003/1.696, allocations: 2.913 MB / 1.106 GB, free: 21.37 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/1.696, allocations: 44.12 kB / 1.106 GB, free: 21.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/1.696, allocations: 22.5 kB / 1.106 GB, free: 21.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.628e-05/1.696, allocations: 37.69 kB / 1.106 GB, free: 21.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/1.698, allocations: 0.5071 MB / 1.107 GB, free: 21.33 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.176e-05/1.698, allocations: 49.38 kB / 1.107 GB, free: 21.33 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003543/1.701, allocations: 386.1 kB / 1.107 GB, free: 21.19 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/1.702, allocations: 102.1 kB / 1.107 GB, free: 21.19 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003711/1.705, allocations: 1.723 MB / 1.109 GB, free: 21.09 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002344/1.708, allocations: 1.704 MB / 1.111 GB, free: 20.16 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00377/1.711, allocations: 2.491 MB / 1.113 GB, free: 19.27 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.788e-06/1.711, allocations: 6.969 kB / 1.113 GB, free: 19.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.005912/1.717, allocations: 2.909 MB / 1.116 GB, free: 18.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/1.717, allocations: 47.17 kB / 1.116 GB, free: 18.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/1.717, allocations: 21.41 kB / 1.116 GB, free: 18.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/1.717, allocations: 37.27 kB / 1.116 GB, free: 18.95 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/1.719, allocations: 0.5045 MB / 1.117 GB, free: 18.94 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.961e-05/1.719, allocations: 49.7 kB / 1.117 GB, free: 18.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003093/1.723, allocations: 317.7 kB / 1.117 GB, free: 18.86 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/1.723, allocations: 99.34 kB / 1.117 GB, free: 18.86 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (247): * Single equations (assignments): 243 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0005884/1.723, allocations: 320.2 kB / 1.117 GB, free: 18.66 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/1.724, allocations: 313.8 kB / 1.118 GB, free: 18.5 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/1.727, allocations: 1.671 MB / 1.119 GB, free: 18.37 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/1.727, allocations: 14.31 kB / 1.119 GB, free: 18.37 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.728, allocations: 0 / 1.119 GB, free: 18.37 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002616/1.73, allocations: 1.301 MB / 1.121 GB, free: 18.18 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008815/1.739, allocations: 4.566 MB / 1.125 GB, free: 17.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.739, allocations: 10.5 kB / 1.125 GB, free: 17.43 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/1.74, allocations: 241.8 kB / 1.125 GB, free: 17.42 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002158/1.74, allocations: 61 kB / 1.125 GB, free: 17.41 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-05/1.74, allocations: 34.47 kB / 1.125 GB, free: 17.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008946/1.741, allocations: 1.536 MB / 1.127 GB, free: 16.06 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.741, allocations: 9.375 kB / 1.127 GB, free: 16.06 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004612/1.746, allocations: 2.512 MB / 1.129 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.747, allocations: 0.5533 MB / 1.13 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/1.748, allocations: 30.77 kB / 1.13 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/1.749, allocations: 140 kB / 1.13 GB, free: 15.19 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/1.75, allocations: 93.3 kB / 1.13 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.75, allocations: 49.78 kB / 1.13 GB, free: 15.18 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002998/1.753, allocations: 2.148 MB / 1.132 GB, free: 15.03 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/1.753, allocations: 0 / 1.132 GB, free: 15.03 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004441/1.757, allocations: 1.696 MB / 1.134 GB, free: 14.78 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005574/1.763, allocations: 3.532 MB / 1.137 GB, free: 13.56 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006319/1.769, allocations: 3.386 MB / 1.141 GB, free: 13.36 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.769, allocations: 4.375 kB / 1.141 GB, free: 13.36 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/1.771, allocations: 0.8173 MB / 1.141 GB, free: 13.24 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006004/1.777, allocations: 1.508 MB / 1.143 GB, free: 12.98 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03422/1.811, allocations: 23.16 MB / 1.166 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002212/1.813, allocations: 2.307 MB / 1.168 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003583/1.817, allocations: 0.8917 MB / 1.169 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001683/1.818, allocations: 1.448 MB / 1.17 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of SimCode: time 1.012e-06/1.818, allocations: 0 / 1.17 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1414/1.96, allocations: 78.56 MB / 1.247 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/17.55, allocations: 15.92 kB / 1.247 GB, free: 13.52 MB / 0.8887 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)