Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.51/1.51, allocations: 252 MB / 267 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009752/0.0009752, allocations: 178.3 kB / 326.6 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.4 MB / 0.5777 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 82.36 kB / 0.6822 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 13.81 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.249, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8957/1.145, allocations: 314 MB / 1.207 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.05387/1.199, allocations: 36.69 MB / 1.243 GB, free: 3.648 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007953/1.207, allocations: 111.2 kB / 1.243 GB, free: 3.539 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.007156/1.214, allocations: 1.487 MB / 1.244 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01845/1.232, allocations: 4.333 MB / 1.249 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.009269/1.242, allocations: 2.234 MB / 1.251 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01696/1.259, allocations: 9.711 MB / 1.26 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008024/1.267, allocations: 2.902 MB / 1.263 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01264/1.279, allocations: 3.602 MB / 1.267 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006446/1.286, allocations: 2.536 MB / 1.269 GB, free: 8.625 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001561/1.288, allocations: 128 kB / 1.269 GB, free: 8.5 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01027/1.298, allocations: 2.861 MB / 1.272 GB, free: 5.633 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002573/1.3, allocations: 0.973 MB / 1.273 GB, free: 4.656 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002576/1.303, allocations: 0.7576 MB / 1.274 GB, free: 3.891 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/1.314, allocations: 5.05 MB / 1.279 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/1.314, allocations: 4 kB / 1.279 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.046e-06/1.314, allocations: 0 / 1.279 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0003011/1.314, allocations: 0 / 1.279 GB, free: 14.82 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 647 * Number of variables: 647 Notification: Performance of Generate backend data structure: time 0.01103/1.325, allocations: 3.706 MB / 1.282 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/1.325, allocations: 12.02 kB / 1.282 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001378/1.327, allocations: 362.5 kB / 1.283 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008886/1.336, allocations: 1.435 MB / 1.284 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008051/1.344, allocations: 2.562 MB / 1.286 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001586/1.345, allocations: 0.5409 MB / 1.287 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/1.347, allocations: 260 kB / 1.287 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/1.357, allocations: 3.472 MB / 1.291 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.501e-05/1.358, allocations: 3.938 kB / 1.291 GB, free: 2.191 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007078/1.358, allocations: 104 kB / 1.291 GB, free: 2.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/1.358, allocations: 108.9 kB / 1.291 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00978/1.368, allocations: 3.201 MB / 1.294 GB, free: 14.77 MB / 0.823 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.03321/1.402, allocations: 14.45 MB / 1.308 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004965/1.407, allocations: 1.873 MB / 1.31 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/1.409, allocations: 0.8224 MB / 1.311 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005123/1.409, allocations: 304.3 kB / 1.311 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002587/1.412, allocations: 0.9738 MB / 1.312 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001882/1.414, allocations: 142.3 kB / 1.312 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=108): time 6.342e-06/1.414, allocations: 0 / 1.312 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=108): time 0.007589/1.421, allocations: 2.509 MB / 1.315 GB, free: 8.504 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.422, allocations: 119.8 kB / 1.315 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006676/1.428, allocations: 2.835 MB / 1.317 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004361/1.429, allocations: 53.7 kB / 1.317 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00186/1.431, allocations: 1.506 MB / 1.319 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007216/1.431, allocations: 382.5 kB / 1.319 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/1.432, allocations: 28 kB / 1.319 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002226/1.432, allocations: 357.9 kB / 1.32 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/1.435, allocations: 0.8979 MB / 1.321 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003194/1.438, allocations: 1.409 MB / 1.322 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/1.441, allocations: 1.016 MB / 1.323 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/1.441, allocations: 4 kB / 1.323 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.007378/1.448, allocations: 2.536 MB / 1.325 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005931/1.449, allocations: 479.7 kB / 1.326 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.652e-05/1.449, allocations: 12 kB / 1.326 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.884e-05/1.449, allocations: 20 kB / 1.326 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/1.451, allocations: 467.4 kB / 1.326 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-05/1.452, allocations: 23.88 kB / 1.326 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004932/1.456, allocations: 0.502 MB / 1.327 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003061/1.457, allocations: 75.97 kB / 1.327 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.457, allocations: 6.656 kB / 1.327 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006403/1.463, allocations: 2.262 MB / 1.329 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.766e-05/1.463, allocations: 12 kB / 1.329 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.865e-05/1.463, allocations: 20 kB / 1.329 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/1.466, allocations: 463.5 kB / 1.33 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.134e-05/1.466, allocations: 27.92 kB / 1.33 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004046/1.47, allocations: 455.9 kB / 1.33 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/1.47, allocations: 75.91 kB / 1.33 GB, free: 8.062 MB / 0.8542 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.002194/1.472, allocations: 0.8636 MB / 1.331 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009325/1.473, allocations: 284.4 kB / 1.331 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005506/1.479, allocations: 1.954 MB / 1.333 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.479, allocations: 8 kB / 1.333 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.479, allocations: 7.922 kB / 1.333 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003817/1.482, allocations: 1.528 MB / 1.335 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/1.496, allocations: 4.937 MB / 1.339 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/1.496, allocations: 8.188 kB / 1.339 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/1.497, allocations: 287.5 kB / 1.34 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002843/1.498, allocations: 56.81 kB / 1.34 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/1.498, allocations: 35.94 kB / 1.34 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/1.499, allocations: 1.436 MB / 1.341 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/1.5, allocations: 7.938 kB / 1.341 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007043/1.507, allocations: 2.943 MB / 1.344 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002302/1.509, allocations: 0.5559 MB / 1.345 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.51, allocations: 24 kB / 1.345 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003623/1.514, allocations: 315.5 kB / 1.345 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/1.514, allocations: 92.78 kB / 1.345 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/1.514, allocations: 63.89 kB / 1.345 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004799/1.519, allocations: 1.974 MB / 1.347 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.519, allocations: 0 / 1.347 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006318/1.525, allocations: 1.519 MB / 1.349 GB, free: 4.672 MB / 0.8698 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.008461/1.534, allocations: 3.827 MB / 1.352 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008225/1.542, allocations: 3.149 MB / 1.355 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.542, allocations: 4.125 kB / 1.355 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002452/1.545, allocations: 0.9348 MB / 1.356 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009648/1.554, allocations: 1.504 MB / 1.358 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05951/1.614, allocations: 20.63 MB / 1.378 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003101/1.617, allocations: 2.131 MB / 1.38 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005203/1.622, allocations: 0.7494 MB / 1.381 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003149/1.625, allocations: 1.272 MB / 1.382 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of SimCode: time 1.303e-06/1.625, allocations: 0 / 1.382 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6813/2.307, allocations: 78.96 MB / 1.459 GB, free: 321.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/2.307, allocations: 268.1 kB / 1.459 GB, free: 320.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.933/7.24, allocations: 0 / 1.459 GB, free: 320.9 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)