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.506/1.506, allocations: 252 MB / 267.3 MB, free: 10.86 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.00121/0.00121, allocations: 166.7 kB / 327 MB, free: 2.125 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.712/1.712, allocations: 205.4 MB / 0.578 GB, free: 20.18 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.0007687/0.0007687, allocations: 89.88 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.000334, allocations: 8.062 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2173, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8314/1.049, allocations: 336.5 MB / 1.23 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0588/1.108, allocations: 39.41 MB / 1.268 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009853/1.117, allocations: 111.2 kB / 1.268 GB, free: 9.977 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.008511/1.126, allocations: 1.978 MB / 1.27 GB, free: 7.988 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01876/1.145, allocations: 5.665 MB / 1.276 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.008821/1.154, allocations: 2.788 MB / 1.278 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01577/1.169, allocations: 11.43 MB / 1.289 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007016/1.177, allocations: 3.455 MB / 1.293 GB, free: 0.5312 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01312/1.19, allocations: 3.972 MB / 1.297 GB, free: 12.54 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008058/1.198, allocations: 2.675 MB / 1.299 GB, free: 9.871 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001/1.199, allocations: 132 kB / 1.299 GB, free: 9.742 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01377/1.213, allocations: 5.713 MB / 1.305 GB, free: 4.016 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002387/1.215, allocations: 0.9924 MB / 1.306 GB, free: 3.02 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003704/1.219, allocations: 1.785 MB / 1.308 GB, free: 1.219 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01411/1.233, allocations: 7.099 MB / 1.315 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.233, allocations: 4 kB / 1.315 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.545e-06/1.233, allocations: 0 / 1.315 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000129/1.233, allocations: 4 kB / 1.315 GB, free: 10.09 MB / 0.8386 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.008182/1.241, allocations: 3.671 MB / 1.318 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.241, allocations: 8.031 kB / 1.318 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005432/1.242, allocations: 366.5 kB / 1.319 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007615/1.25, allocations: 1.435 MB / 1.32 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005822/1.255, allocations: 2.665 MB / 1.323 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001426/1.257, allocations: 0.5331 MB / 1.323 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006214/1.257, allocations: 264 kB / 1.323 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007093/1.265, allocations: 3.495 MB / 1.327 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.309e-05/1.265, allocations: 0 / 1.327 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002516/1.265, allocations: 107.9 kB / 1.327 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/1.265, allocations: 108.9 kB / 1.327 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007581/1.273, allocations: 3.22 MB / 1.33 GB, free: 9.922 MB / 0.8542 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.02491/1.298, allocations: 14.45 MB / 1.344 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004222/1.302, allocations: 1.869 MB / 1.346 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/1.304, allocations: 0.8261 MB / 1.347 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004223/1.304, allocations: 308.3 kB / 1.347 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002239/1.306, allocations: 0.9816 MB / 1.348 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001526/1.308, allocations: 142.3 kB / 1.348 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=108): time 3.797e-06/1.308, allocations: 0 / 1.348 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of matching and sorting (n=108): time 0.007076/1.315, allocations: 2.521 MB / 1.351 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/1.315, allocations: 119.8 kB / 1.351 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005247/1.32, allocations: 2.862 MB / 1.354 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003333/1.321, allocations: 49.7 kB / 1.354 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/1.322, allocations: 1.502 MB / 1.355 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004718/1.323, allocations: 374.6 kB / 1.356 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.323, allocations: 28 kB / 1.356 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.323, allocations: 365.9 kB / 1.356 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002579/1.326, allocations: 0.9135 MB / 1.357 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/1.329, allocations: 1.435 MB / 1.358 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004724/1.333, allocations: 2.082 MB / 1.36 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/1.333, allocations: 8 kB / 1.36 GB, free: 9.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006804/1.34, allocations: 2.585 MB / 1.363 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003631/1.341, allocations: 475.7 kB / 1.363 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/1.341, allocations: 12 kB / 1.363 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/1.341, allocations: 20 kB / 1.363 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/1.343, allocations: 467.3 kB / 1.364 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-05/1.343, allocations: 27.92 kB / 1.364 GB, free: 5.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/1.347, allocations: 0.5132 MB / 1.364 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/1.348, allocations: 75.95 kB / 1.364 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/1.348, allocations: 4 kB / 1.364 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006994/1.355, allocations: 2.27 MB / 1.367 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/1.355, allocations: 12.44 kB / 1.367 GB, free: 2.863 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/1.355, allocations: 24 kB / 1.367 GB, free: 2.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/1.357, allocations: 459.4 kB / 1.367 GB, free: 2.391 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.806e-05/1.357, allocations: 23.88 kB / 1.367 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003858/1.361, allocations: 451.9 kB / 1.367 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/1.361, allocations: 79.91 kB / 1.368 GB, free: 1.848 MB / 0.8855 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002288/1.363, allocations: 0.8558 MB / 1.368 GB, free: 0.9805 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008131/1.364, allocations: 284.4 kB / 1.369 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004895/1.369, allocations: 1.966 MB / 1.371 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.369, allocations: 12 kB / 1.371 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.369, allocations: 0 / 1.371 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003523/1.373, allocations: 1.536 MB / 1.372 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/1.383, allocations: 4.948 MB / 1.377 GB, free: 8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/1.383, allocations: 8 kB / 1.377 GB, free: 7.992 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.385, allocations: 272.4 kB / 1.377 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002691/1.385, allocations: 60.77 kB / 1.377 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.842e-05/1.385, allocations: 35.98 kB / 1.377 GB, free: 7.629 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/1.386, allocations: 1.448 MB / 1.379 GB, free: 6.047 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.387, allocations: 4 kB / 1.379 GB, free: 6.043 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006893/1.393, allocations: 2.955 MB / 1.382 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001858/1.395, allocations: 0.552 MB / 1.382 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004667/1.396, allocations: 27.98 kB / 1.382 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002746/1.399, allocations: 319.5 kB / 1.382 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/1.399, allocations: 88.72 kB / 1.383 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/1.399, allocations: 55.95 kB / 1.383 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003949/1.403, allocations: 2.005 MB / 1.385 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2e-07/1.403, allocations: 0 / 1.385 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004648/1.408, allocations: 1.523 MB / 1.386 GB, free: 14.41 MB / 0.9167 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 (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.007601/1.415, allocations: 3.836 MB / 1.39 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007981/1.423, allocations: 3.185 MB / 1.393 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/1.423, allocations: 0 / 1.393 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002274/1.426, allocations: 0.9466 MB / 1.394 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/1.436, allocations: 1.58 MB / 1.395 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5209/1.957, allocations: 26 MB / 1.421 GB, free: 350.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002439/1.959, allocations: 2.128 MB / 1.423 GB, free: 349.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004408/1.963, allocations: 0.7456 MB / 1.424 GB, free: 349.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002555/1.966, allocations: 1.309 MB / 1.425 GB, free: 349.6 MB / 0.9167 GB Notification: Performance of SimCode: time 2.285e-06/1.966, allocations: 0 / 1.425 GB, free: 349.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/2.09, allocations: 79.86 MB / 1.503 GB, free: 283.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/2.09, allocations: 288.9 kB / 1.503 GB, free: 283.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.202/7.292, allocations: 4 kB / 1.503 GB, free: 283.3 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)