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.422/1.422, allocations: 252 MB / 267 MB, free: 10.97 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.0009328/0.0009328, allocations: 175.3 kB / 326.6 MB, free: 2.227 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.44/1.44, allocations: 205.4 MB / 0.5777 GB, free: 20.5 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.0007981/0.0007979, allocations: 89.34 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.000335, allocations: 11.72 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1844, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6316/0.8161, allocations: 277.5 MB / 1.171 GB, free: 15.65 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.06078/0.877, allocations: 46.48 MB / 1.217 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01032/0.8873, allocations: 246.3 kB / 1.217 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.009755/0.8971, allocations: 2.383 MB / 1.219 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.02512/0.9223, allocations: 7.22 MB / 1.226 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01551/0.9379, allocations: 4.645 MB / 1.231 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0279/0.9658, allocations: 20.95 MB / 1.251 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009481/0.9753, allocations: 4.257 MB / 1.255 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01811/0.9935, allocations: 5.895 MB / 1.261 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01065/1.004, allocations: 4.592 MB / 1.266 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.002427/1.007, allocations: 236 kB / 1.266 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/1.018, allocations: 2.635 MB / 1.269 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002842/1.021, allocations: 1.042 MB / 1.27 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.004206/1.025, allocations: 1.371 MB / 1.271 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0128/1.038, allocations: 7.379 MB / 1.278 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.038, allocations: 4 kB / 1.278 GB, free: 8.383 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.755e-06/1.038, allocations: 0 / 1.278 GB, free: 8.383 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003266/1.039, allocations: 0 / 1.278 GB, free: 8.383 MB / 0.7917 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.01239/1.051, allocations: 6.245 MB / 1.284 GB, free: 2.004 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.051, allocations: 12.03 kB / 1.284 GB, free: 1.992 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001346/1.053, allocations: 0.5357 MB / 1.285 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002405/1.055, allocations: 0.7803 MB / 1.285 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/1.065, allocations: 4.939 MB / 1.29 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/1.066, allocations: 328.1 kB / 1.291 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006484/1.066, allocations: 435.9 kB / 1.291 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007873/1.074, allocations: 4.315 MB / 1.295 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-05/1.074, allocations: 19.86 kB / 1.295 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003996/1.075, allocations: 176 kB / 1.295 GB, free: 6.109 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/1.075, allocations: 112 kB / 1.296 GB, free: 6 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005519/1.08, allocations: 2.949 MB / 1.298 GB, free: 3.047 MB / 0.8073 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.02933/1.11, allocations: 24.97 MB / 1.323 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/1.113, allocations: 2.757 MB / 1.325 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/1.115, allocations: 0.9914 MB / 1.326 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003442/1.118, allocations: 3.927 MB / 1.33 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.678e-05/1.118, allocations: 56.56 kB / 1.33 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=217): time 4.088e-06/1.118, allocations: 0 / 1.33 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=217): time 0.01107/1.129, allocations: 4.065 MB / 1.334 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/1.129, allocations: 73.41 kB / 1.334 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007017/1.136, allocations: 4.156 MB / 1.338 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004788/1.137, allocations: 81.7 kB / 1.339 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002235/1.139, allocations: 2.774 MB / 1.341 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009941/1.14, allocations: 0.7625 MB / 1.342 GB, free: 3.176 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/1.14, allocations: 60 kB / 1.342 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002212/1.141, allocations: 411.9 kB / 1.342 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/1.142, allocations: 0.7864 MB / 1.343 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/1.144, allocations: 1.81 MB / 1.345 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/1.146, allocations: 1.073 MB / 1.346 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/1.146, allocations: 8 kB / 1.346 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007904/1.154, allocations: 3.497 MB / 1.349 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006461/1.155, allocations: 0.7297 MB / 1.35 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/1.155, allocations: 31.95 kB / 1.35 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/1.157, allocations: 0.5651 MB / 1.351 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/1.159, allocations: 0.5577 MB / 1.351 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/1.161, allocations: 2.689 MB / 1.354 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004731/1.166, allocations: 0.6199 MB / 1.355 GB, free: 5.387 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003774/1.166, allocations: 136 kB / 1.355 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/1.166, allocations: 4 kB / 1.355 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005384/1.172, allocations: 2.794 MB / 1.357 GB, free: 2.402 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.346e-05/1.172, allocations: 27.98 kB / 1.357 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/1.173, allocations: 375.9 kB / 1.358 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/1.175, allocations: 0.5578 MB / 1.358 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008672/1.184, allocations: 7.697 MB / 1.366 GB, free: 9.148 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005248/1.189, allocations: 0.575 MB / 1.366 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004923/1.189, allocations: 132 kB / 1.367 GB, free: 8.445 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003177/1.193, allocations: 1.001 MB / 1.367 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001708/1.194, allocations: 0.5016 MB / 1.368 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006213/1.2, allocations: 3.572 MB / 1.371 GB, free: 3.285 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-05/1.201, allocations: 35.98 kB / 1.371 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.201, allocations: 7.938 kB / 1.372 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003681/1.204, allocations: 2.427 MB / 1.374 GB, free: 0.7617 MB / 0.8855 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.01325/1.218, allocations: 8.15 MB / 1.382 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/1.218, allocations: 0 / 1.382 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/1.219, allocations: 375.6 kB / 1.382 GB, free: 7.961 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007417/1.22, allocations: 299.1 kB / 1.382 GB, free: 7.656 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/1.22, allocations: 71.89 kB / 1.383 GB, free: 7.586 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/1.221, allocations: 2.502 MB / 1.385 GB, free: 4.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.222, allocations: 0 / 1.385 GB, free: 4.98 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007026/1.229, allocations: 4.321 MB / 1.389 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002665/1.231, allocations: 0.9584 MB / 1.39 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006503/1.232, allocations: 55.98 kB / 1.39 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003357/1.235, allocations: 427.6 kB / 1.391 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/1.236, allocations: 153.7 kB / 1.391 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/1.236, allocations: 103.9 kB / 1.391 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004393/1.24, allocations: 2.725 MB / 1.394 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.1e-07/1.24, allocations: 0 / 1.394 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.009793/1.25, allocations: 3.257 MB / 1.397 GB, free: 8.898 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.008595/1.259, allocations: 6.045 MB / 1.403 GB, free: 2.766 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.3451/1.604, allocations: 4.39 MB / 1.407 GB, free: 352.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.604, allocations: 2.875 kB / 1.407 GB, free: 352.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002165/1.606, allocations: 1.233 MB / 1.408 GB, free: 352.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01516/1.621, allocations: 2.671 MB / 1.411 GB, free: 352 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06848/1.69, allocations: 35.7 MB / 1.446 GB, free: 332.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/1.692, allocations: 2.864 MB / 1.448 GB, free: 331.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005225/1.697, allocations: 1.146 MB / 1.449 GB, free: 331.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002938/1.7, allocations: 2.519 MB / 1.452 GB, free: 329.5 MB / 0.9167 GB Notification: Performance of SimCode: time 8.82e-07/1.7, allocations: 0 / 1.452 GB, free: 329.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1956/1.895, allocations: 147.5 MB / 1.596 GB, free: 193 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/1.896, allocations: 259 kB / 1.596 GB, free: 192.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.615/8.511, allocations: 0 / 1.596 GB, free: 192.6 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)