Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_8_Buildings_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.0009004/0.0009003, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008817/0.0008818, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.785/1.785, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006376/0.0006377, allocations: 17.95 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2624, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8671/1.13, allocations: 313.3 MB / 1.093 GB, free: 2.559 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.05851/1.188, allocations: 36.43 MB / 1.129 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006391/1.195, allocations: 111.2 kB / 1.129 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006427/1.201, allocations: 1.487 MB / 1.13 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01689/1.218, allocations: 4.161 MB / 1.135 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01059/1.229, allocations: 2.226 MB / 1.137 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02153/1.25, allocations: 9.642 MB / 1.146 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007999/1.258, allocations: 2.893 MB / 1.149 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01437/1.273, allocations: 3.73 MB / 1.153 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005585/1.278, allocations: 2.431 MB / 1.155 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00106/1.279, allocations: 128 kB / 1.155 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009269/1.289, allocations: 2.865 MB / 1.158 GB, free: 280 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003124/1.292, allocations: 0.9652 MB / 1.159 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002822/1.295, allocations: 0.7576 MB / 1.16 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0107/1.305, allocations: 5.039 MB / 1.164 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/1.305, allocations: 0 / 1.164 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.328e-06/1.306, allocations: 0 / 1.164 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002526/1.306, allocations: 0 / 1.164 GB, free: 9.488 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.01004/1.316, allocations: 3.702 MB / 1.168 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/1.316, allocations: 11.97 kB / 1.168 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009068/1.317, allocations: 358.4 kB / 1.168 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00816/1.325, allocations: 1.471 MB / 1.17 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006612/1.332, allocations: 2.553 MB / 1.172 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001283/1.333, allocations: 0.5448 MB / 1.173 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008172/1.334, allocations: 256 kB / 1.173 GB, free: 428 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00759/1.341, allocations: 3.476 MB / 1.177 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.847e-05/1.341, allocations: 3.938 kB / 1.177 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002861/1.342, allocations: 104 kB / 1.177 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/1.342, allocations: 104.9 kB / 1.177 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007399/1.349, allocations: 3.201 MB / 1.18 GB, free: 9.414 MB / 0.8887 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.02577/1.375, allocations: 14.43 MB / 1.194 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003905/1.379, allocations: 1.877 MB / 1.196 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/1.381, allocations: 0.8222 MB / 1.197 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004449/1.381, allocations: 304.3 kB / 1.197 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002125/1.383, allocations: 0.9738 MB / 1.198 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001568/1.385, allocations: 138.3 kB / 1.198 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=108): time 3.046e-06/1.385, allocations: 0 / 1.198 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of matching and sorting (n=108): time 0.006398/1.391, allocations: 2.529 MB / 1.2 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/1.391, allocations: 115.8 kB / 1.201 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004624/1.396, allocations: 2.834 MB / 1.203 GB, free: 188 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002525/1.396, allocations: 53.7 kB / 1.203 GB, free: 128 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001474/1.398, allocations: 1.502 MB / 1.205 GB, free: 14.61 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004312/1.398, allocations: 374.6 kB / 1.205 GB, free: 14.24 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/1.398, allocations: 32 kB / 1.205 GB, free: 14.21 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.399, allocations: 361.9 kB / 1.206 GB, free: 13.85 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/1.401, allocations: 0.8979 MB / 1.206 GB, free: 12.95 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/1.403, allocations: 1.408 MB / 1.208 GB, free: 11.33 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/1.406, allocations: 1.02 MB / 1.209 GB, free: 10.3 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/1.406, allocations: 7.984 kB / 1.209 GB, free: 10.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005931/1.412, allocations: 2.542 MB / 1.211 GB, free: 7.734 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003555/1.412, allocations: 480.6 kB / 1.212 GB, free: 7.105 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/1.412, allocations: 12 kB / 1.212 GB, free: 7.094 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/1.412, allocations: 20 kB / 1.212 GB, free: 7.074 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/1.414, allocations: 467.4 kB / 1.212 GB, free: 6.617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.334e-05/1.414, allocations: 31.81 kB / 1.212 GB, free: 6.586 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/1.418, allocations: 0.51 MB / 1.213 GB, free: 6.078 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/1.418, allocations: 71.97 kB / 1.213 GB, free: 6.008 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/1.418, allocations: 4 kB / 1.213 GB, free: 6.004 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00519/1.423, allocations: 2.266 MB / 1.215 GB, free: 3.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/1.423, allocations: 16 kB / 1.215 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/1.423, allocations: 20 kB / 1.215 GB, free: 3.695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/1.425, allocations: 467.6 kB / 1.216 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/1.425, allocations: 27.92 kB / 1.216 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/1.429, allocations: 441.8 kB / 1.216 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/1.429, allocations: 71.97 kB / 1.216 GB, free: 2.711 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (180): * Single equations (assignments): 177 * Array equations: 2 * 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.001812/1.431, allocations: 0.8635 MB / 1.217 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005671/1.431, allocations: 276.5 kB / 1.217 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004331/1.436, allocations: 1.962 MB / 1.219 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/1.436, allocations: 12 kB / 1.219 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.436, allocations: 3.938 kB / 1.219 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003259/1.439, allocations: 1.532 MB / 1.221 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/1.449, allocations: 4.964 MB / 1.225 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/1.449, allocations: 8.031 kB / 1.225 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.451, allocations: 279.6 kB / 1.226 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002531/1.451, allocations: 52.77 kB / 1.226 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.6e-05/1.451, allocations: 35.98 kB / 1.226 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/1.452, allocations: 1.44 MB / 1.227 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/1.452, allocations: 11.94 kB / 1.227 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006206/1.459, allocations: 2.943 MB / 1.23 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.46, allocations: 0.552 MB / 1.231 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004692/1.461, allocations: 27.98 kB / 1.231 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/1.463, allocations: 315.5 kB / 1.231 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/1.463, allocations: 92.73 kB / 1.231 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.464, allocations: 55.97 kB / 1.231 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003737/1.467, allocations: 1.97 MB / 1.233 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.6e-07/1.467, allocations: 0 / 1.233 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.005954/1.473, allocations: 1.543 MB / 1.235 GB, free: 15.3 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (106): * Single equations (assignments): 103 * 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.007948/1.481, allocations: 3.838 MB / 1.238 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007693/1.489, allocations: 3.148 MB / 1.241 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.007e-05/1.489, allocations: 4 kB / 1.241 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002161/1.491, allocations: 0.9394 MB / 1.242 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007742/1.499, allocations: 1.499 MB / 1.244 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05177/1.551, allocations: 20.66 MB / 1.264 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002003/1.553, allocations: 2.119 MB / 1.266 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.003972/1.557, allocations: 0.7494 MB / 1.267 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/1.559, allocations: 1.276 MB / 1.268 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of SimCode: time 1.042e-06/1.559, allocations: 4 kB / 1.268 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6457/2.205, allocations: 79.2 MB / 1.345 GB, free: 337.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/2.205, allocations: 253.7 kB / 1.346 GB, free: 337.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.546/6.751, allocations: 0 / 1.346 GB, free: 337.3 MB / 0.9825 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) Environment - environmentSimulation: