Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",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.412/1.412, 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.001536/0.001536, allocations: 178.1 kB / 327 MB, free: 2.102 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.544/1.544, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0007263/0.0007264, allocations: 86.11 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003758, allocations: 11.62 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1866, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6485/0.8351, allocations: 294 MB / 1.188 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.06954/0.9047, allocations: 49.14 MB / 1.236 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01153/0.9163, allocations: 250.3 kB / 1.236 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.01064/0.927, allocations: 2.782 MB / 1.239 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.02503/0.9521, allocations: 8.368 MB / 1.247 GB, free: 8.477 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01864/0.9707, allocations: 5.864 MB / 1.253 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.03089/1.002, allocations: 24.45 MB / 1.277 GB, free: 10.13 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008384/1.01, allocations: 4.679 MB / 1.281 GB, free: 5.367 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01629/1.026, allocations: 6.307 MB / 1.287 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0119/1.038, allocations: 4.879 MB / 1.292 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001967/1.04, allocations: 232 kB / 1.292 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01428/1.055, allocations: 3.901 MB / 1.296 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002661/1.057, allocations: 1.119 MB / 1.297 GB, free: 4.867 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.008223/1.066, allocations: 3.308 MB / 1.301 GB, free: 1.535 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0211/1.087, allocations: 9.847 MB / 1.31 GB, free: 7.656 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.087, allocations: 4 kB / 1.31 GB, free: 7.652 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.553e-06/1.087, allocations: 0 / 1.31 GB, free: 7.652 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003735/1.087, allocations: 0 / 1.31 GB, free: 7.652 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01403/1.101, allocations: 6.171 MB / 1.316 GB, free: 1.348 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.101, allocations: 8.031 kB / 1.316 GB, free: 1.34 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001627/1.103, allocations: 0.5435 MB / 1.317 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003271/1.106, allocations: 0.7764 MB / 1.318 GB, free: 4 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/1.118, allocations: 5.138 MB / 1.323 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003813/1.119, allocations: 324.1 kB / 1.323 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/1.12, allocations: 435.9 kB / 1.323 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/1.13, allocations: 4.35 MB / 1.328 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/1.13, allocations: 15.84 kB / 1.328 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008923/1.131, allocations: 176 kB / 1.328 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001835/1.131, allocations: 123.9 kB / 1.328 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007551/1.139, allocations: 2.972 MB / 1.331 GB, free: 2.125 MB / 0.8386 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.03465/1.174, allocations: 24.97 MB / 1.355 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003678/1.177, allocations: 2.773 MB / 1.358 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/1.179, allocations: 1.007 MB / 1.359 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00307/1.182, allocations: 3.912 MB / 1.363 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/1.182, allocations: 64.5 kB / 1.363 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=217): time 4.739e-06/1.182, allocations: 0 / 1.363 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=217): time 0.01137/1.194, allocations: 4.115 MB / 1.367 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/1.194, allocations: 81.34 kB / 1.367 GB, free: 9.949 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009916/1.204, allocations: 4.203 MB / 1.371 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006905/1.205, allocations: 81.7 kB / 1.371 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00295/1.208, allocations: 2.763 MB / 1.374 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001336/1.209, allocations: 0.7702 MB / 1.374 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/1.209, allocations: 56 kB / 1.374 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002824/1.21, allocations: 419.9 kB / 1.375 GB, free: 1.648 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/1.212, allocations: 0.8099 MB / 1.376 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002666/1.214, allocations: 1.837 MB / 1.377 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00394/1.218, allocations: 2.521 MB / 1.38 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-05/1.218, allocations: 11.94 kB / 1.38 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009298/1.228, allocations: 3.571 MB / 1.383 GB, free: 8.062 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006581/1.228, allocations: 0.7411 MB / 1.384 GB, free: 7.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-05/1.228, allocations: 24 kB / 1.384 GB, free: 6.988 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002898/1.231, allocations: 0.5963 MB / 1.385 GB, free: 6.379 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/1.234, allocations: 0.55 MB / 1.385 GB, free: 5.828 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/1.236, allocations: 2.686 MB / 1.388 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005321/1.241, allocations: 0.6275 MB / 1.389 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004425/1.242, allocations: 136 kB / 1.389 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/1.242, allocations: 8 kB / 1.389 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006004/1.248, allocations: 2.821 MB / 1.391 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-05/1.248, allocations: 20 kB / 1.391 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/1.249, allocations: 367.5 kB / 1.392 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/1.251, allocations: 0.5577 MB / 1.392 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008997/1.26, allocations: 7.723 MB / 1.4 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005478/1.265, allocations: 0.5673 MB / 1.4 GB, free: 5.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004628/1.266, allocations: 132 kB / 1.401 GB, free: 5.441 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002788/1.268, allocations: 1.001 MB / 1.402 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001753/1.27, allocations: 0.5055 MB / 1.402 GB, free: 3.918 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007772/1.278, allocations: 3.577 MB / 1.406 GB, free: 284 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.001e-05/1.278, allocations: 35.98 kB / 1.406 GB, free: 248 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.278, allocations: 3.938 kB / 1.406 GB, free: 244 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4588/1.737, allocations: 2.455 MB / 1.408 GB, free: 349.5 MB / 0.9167 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 postOpt removeSimpleEquations (simulation): time 0.01633/1.753, allocations: 8.168 MB / 1.416 GB, free: 348.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/1.753, allocations: 2.031 kB / 1.416 GB, free: 348.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.755, allocations: 369.3 kB / 1.416 GB, free: 348.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008095/1.756, allocations: 308.3 kB / 1.417 GB, free: 348 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/1.756, allocations: 65.84 kB / 1.417 GB, free: 348 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/1.758, allocations: 2.5 MB / 1.419 GB, free: 345.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.758, allocations: 0.6875 kB / 1.419 GB, free: 345.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009407/1.767, allocations: 4.341 MB / 1.423 GB, free: 345.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003446/1.771, allocations: 0.9687 MB / 1.424 GB, free: 345.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001126/1.772, allocations: 42.41 kB / 1.424 GB, free: 345.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004911/1.777, allocations: 426.4 kB / 1.425 GB, free: 345.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003896/1.777, allocations: 153.2 kB / 1.425 GB, free: 345.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000268/1.778, allocations: 104.3 kB / 1.425 GB, free: 345.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005937/1.784, allocations: 2.774 MB / 1.428 GB, free: 344.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.11e-07/1.784, allocations: 0 / 1.428 GB, free: 344.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01324/1.797, allocations: 3.269 MB / 1.431 GB, free: 344.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01032/1.807, allocations: 6.152 MB / 1.437 GB, free: 341.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007058/1.814, allocations: 4.442 MB / 1.441 GB, free: 340 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.814, allocations: 7.906 kB / 1.441 GB, free: 339.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/1.816, allocations: 1.237 MB / 1.442 GB, free: 339.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01598/1.832, allocations: 2.667 MB / 1.445 GB, free: 339 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07882/1.911, allocations: 44.57 MB / 1.489 GB, free: 298.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002568/1.914, allocations: 2.865 MB / 1.491 GB, free: 296 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005201/1.919, allocations: 1.145 MB / 1.492 GB, free: 294.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003043/1.922, allocations: 2.518 MB / 1.495 GB, free: 292.3 MB / 0.9167 GB Notification: Performance of SimCode: time 8.62e-07/1.922, allocations: 0 / 1.495 GB, free: 292.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2663/2.188, allocations: 142.6 MB / 1.634 GB, free: 150.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/2.189, allocations: 285.8 kB / 1.634 GB, free: 150.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/9.645, allocations: 0 / 1.634 GB, free: 150.3 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)