Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 182 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5005/0.5005, allocations: 90.81 MB / 104.5 MB, free: 13.86 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.3 MB / 348.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008528/0.0008528, allocations: 91.92 kB / 421.2 MB, free: 5.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.926e-05/3.967e-05, allocations: 4 kB / 0.4897 GB, free: 46.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.149, allocations: 72.31 MB / 0.5603 GB, free: 6.324 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.619/5.768, allocations: 2.136 GB / 2.696 GB, free: 172.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/5.768, allocations: 97.92 kB / 2.696 GB, free: 172.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.905/8.673, allocations: 0.8846 GB / 3.581 GB, free: 3.438 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.162e-06/8.673, allocations: 0 / 3.581 GB, free: 3.438 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001773/8.674, allocations: 52.48 kB / 3.581 GB, free: 3.391 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.003853/8.677, allocations: 2.359 MB / 3.583 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/8.677, allocations: 19.39 kB / 3.583 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000215/8.678, allocations: 194.2 kB / 3.583 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/8.679, allocations: 379.4 kB / 3.584 GB, free: 384 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003822/8.683, allocations: 2.047 MB / 3.586 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/8.683, allocations: 104.6 kB / 3.586 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/8.683, allocations: 140 kB / 3.586 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/8.686, allocations: 1.559 MB / 3.587 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/8.686, allocations: 4 kB / 3.587 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/8.686, allocations: 55.31 kB / 3.588 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/8.686, allocations: 46.53 kB / 3.588 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/8.688, allocations: 1.185 MB / 3.589 GB, free: 11.18 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.009409/8.698, allocations: 6.476 MB / 3.595 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/8.699, allocations: 0.8712 MB / 3.596 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008068/8.7, allocations: 0.6075 MB / 3.597 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007174/8.701, allocations: 0.6799 MB / 3.597 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/8.701, allocations: 43.34 kB / 3.597 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=83): time 3.146e-06/8.701, allocations: 2.25 kB / 3.597 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.4398/9.141, allocations: 3.088 MB / 3.6 GB, free: 63.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/9.141, allocations: 197.7 kB / 3.6 GB, free: 63.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003218/9.144, allocations: 1.773 MB / 3.602 GB, free: 62.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/9.144, allocations: 47.23 kB / 3.602 GB, free: 62.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008343/9.145, allocations: 0.8831 MB / 3.603 GB, free: 62.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/9.145, allocations: 299.5 kB / 3.603 GB, free: 62.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/9.145, allocations: 15.16 kB / 3.603 GB, free: 62.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/9.145, allocations: 349.6 kB / 3.604 GB, free: 62.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009158/9.146, allocations: 0.5803 MB / 3.604 GB, free: 62.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/9.147, allocations: 0.839 MB / 3.605 GB, free: 62.03 MB / 0.6355 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004576/9.152, allocations: 2.375 MB / 3.607 GB, free: 61.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/9.152, allocations: 0.6875 kB / 3.607 GB, free: 61.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002921/9.155, allocations: 1.79 MB / 3.609 GB, free: 61.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003834/9.155, allocations: 1.664 MB / 3.611 GB, free: 59.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/9.155, allocations: 7 kB / 3.611 GB, free: 59.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/9.155, allocations: 9.5 kB / 3.611 GB, free: 59.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007599/9.156, allocations: 175.4 kB / 3.611 GB, free: 59.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/9.156, allocations: 9.875 kB / 3.611 GB, free: 59.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/9.158, allocations: 126 kB / 3.611 GB, free: 59.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/9.158, allocations: 52.95 kB / 3.611 GB, free: 59.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/9.158, allocations: 3.312 kB / 3.611 GB, free: 59.45 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00245/9.161, allocations: 1.79 MB / 3.613 GB, free: 59.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/9.161, allocations: 6.656 kB / 3.613 GB, free: 59.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/9.161, allocations: 11.72 kB / 3.613 GB, free: 59.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/9.161, allocations: 179.3 kB / 3.613 GB, free: 59.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/9.161, allocations: 10.98 kB / 3.613 GB, free: 59.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/9.163, allocations: 129.2 kB / 3.613 GB, free: 59.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/9.163, allocations: 49.91 kB / 3.613 GB, free: 59.23 MB / 0.6355 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * 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.0003242/9.163, allocations: 255.1 kB / 3.614 GB, free: 59.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/9.164, allocations: 194.9 kB / 3.614 GB, free: 58.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/9.166, allocations: 1.43 MB / 3.615 GB, free: 58.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/9.166, allocations: 8.891 kB / 3.615 GB, free: 58.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/9.166, allocations: 0 / 3.615 GB, free: 58.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001736/9.168, allocations: 1.499 MB / 3.617 GB, free: 58.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005505/9.173, allocations: 3.584 MB / 3.62 GB, free: 57.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/9.173, allocations: 7.25 kB / 3.62 GB, free: 57.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007487/9.174, allocations: 166.9 kB / 3.62 GB, free: 57.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/9.174, allocations: 8.969 kB / 3.62 GB, free: 57.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/9.174, allocations: 28.34 kB / 3.62 GB, free: 57.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/9.174, allocations: 11.36 kB / 3.62 GB, free: 57.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/9.174, allocations: 6.906 kB / 3.62 GB, free: 57.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/9.177, allocations: 2.699 MB / 3.623 GB, free: 56.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009548/9.178, allocations: 458.4 kB / 3.623 GB, free: 56.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/9.179, allocations: 25.75 kB / 3.623 GB, free: 56.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/9.18, allocations: 107.2 kB / 3.623 GB, free: 56.44 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/9.18, allocations: 96.09 kB / 3.624 GB, free: 56.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.932e-05/9.18, allocations: 41.14 kB / 3.624 GB, free: 56.44 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002208/9.182, allocations: 1.388 MB / 3.625 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/9.182, allocations: 0 / 3.625 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003429/9.186, allocations: 1.003 MB / 3.626 GB, free: 56.28 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.006693/9.192, allocations: 6.594 MB / 3.632 GB, free: 53.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003792/9.196, allocations: 3.049 MB / 3.635 GB, free: 52.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/9.196, allocations: 2.406 kB / 3.635 GB, free: 52.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/9.197, allocations: 0.9901 MB / 3.636 GB, free: 52.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004539/9.202, allocations: 0.9938 MB / 3.637 GB, free: 52.13 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006532/9.208, allocations: 3.628 MB / 3.641 GB, free: 51.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/9.21, allocations: 1.565 MB / 3.642 GB, free: 50.52 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002672/9.212, allocations: 0.6645 MB / 3.643 GB, free: 50.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008667/9.213, allocations: 0.7426 MB / 3.644 GB, free: 50.49 MB / 0.6355 GB Notification: Performance of SimCode: time 1.223e-06/9.213, allocations: 0 / 3.644 GB, free: 50.49 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1367/9.35, allocations: 91.09 MB / 3.733 GB, free: 46.76 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/9.35, allocations: 206.4 kB / 3.733 GB, free: 46.53 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.735/14.09, allocations: 0 / 3.733 GB, free: 46.53 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)