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.0008816/0.0008815, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4821/0.4821, allocations: 90.91 MB / 99.34 MB, free: 2.168 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008892/0.0008893, allocations: 103.1 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.734e-05/1.728e-05, allocations: 0 / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1515, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.998/5.149, allocations: 2.135 GB / 2.689 GB, free: 1.707 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/5.149, allocations: 95.94 kB / 2.689 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.065/8.214, allocations: 0.8772 GB / 3.566 GB, free: 66.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.442e-06/8.214, allocations: 0 / 3.566 GB, free: 66.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001918/8.214, allocations: 56.7 kB / 3.566 GB, free: 66.3 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.004303/8.219, allocations: 2.357 MB / 3.568 GB, free: 64.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/8.219, allocations: 7.406 kB / 3.568 GB, free: 64.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/8.22, allocations: 380 kB / 3.569 GB, free: 64.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/8.224, allocations: 2.049 MB / 3.571 GB, free: 63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/8.224, allocations: 48.03 kB / 3.571 GB, free: 63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/8.224, allocations: 84.59 kB / 3.571 GB, free: 63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001697/8.225, allocations: 1.119 MB / 3.572 GB, free: 62.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/8.227, allocations: 1.375 MB / 3.573 GB, free: 61.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/8.228, allocations: 5.906 kB / 3.573 GB, free: 61.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.634e-05/8.228, allocations: 0.9375 kB / 3.573 GB, free: 61.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/8.228, allocations: 47.25 kB / 3.573 GB, free: 61.68 MB / 0.6198 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.006919/8.235, allocations: 6.176 MB / 3.579 GB, free: 56.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/8.236, allocations: 0.8513 MB / 3.58 GB, free: 55.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005912/8.236, allocations: 0.5805 MB / 3.581 GB, free: 55.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005297/8.237, allocations: 0.6845 MB / 3.582 GB, free: 54.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/8.237, allocations: 50.19 kB / 3.582 GB, free: 54.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=83): time 2.855e-06/8.237, allocations: 0 / 3.582 GB, free: 54.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85): time 0.004552/8.241, allocations: 2.707 MB / 3.584 GB, free: 51.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/8.241, allocations: 200.4 kB / 3.584 GB, free: 51.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/8.243, allocations: 1.493 MB / 3.586 GB, free: 50 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/8.243, allocations: 29.7 kB / 3.586 GB, free: 49.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/8.244, allocations: 0.8971 MB / 3.587 GB, free: 49.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/8.244, allocations: 278.8 kB / 3.587 GB, free: 48.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/8.244, allocations: 6.688 kB / 3.587 GB, free: 48.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/8.244, allocations: 341.9 kB / 3.587 GB, free: 48.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/8.245, allocations: 0.5688 MB / 3.588 GB, free: 47.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007412/8.245, allocations: 0.8138 MB / 3.589 GB, free: 46.98 MB / 0.6198 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.003511/8.249, allocations: 2.159 MB / 3.591 GB, free: 44.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/8.249, allocations: 0 / 3.591 GB, free: 44.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002097/8.251, allocations: 1.54 MB / 3.592 GB, free: 43.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004018/8.251, allocations: 1.647 MB / 3.594 GB, free: 41.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/8.251, allocations: 4 kB / 3.594 GB, free: 41.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/8.252, allocations: 10.03 kB / 3.594 GB, free: 41.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/8.252, allocations: 179.7 kB / 3.594 GB, free: 41.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/8.252, allocations: 11.94 kB / 3.594 GB, free: 41.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/8.254, allocations: 99.47 kB / 3.594 GB, free: 41.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/8.254, allocations: 51.98 kB / 3.594 GB, free: 41.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/8.254, allocations: 5.938 kB / 3.594 GB, free: 41.12 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001815/8.256, allocations: 1.458 MB / 3.596 GB, free: 39.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/8.256, allocations: 4 kB / 3.596 GB, free: 39.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/8.256, allocations: 10.12 kB / 3.596 GB, free: 39.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/8.256, allocations: 175.7 kB / 3.596 GB, free: 39.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/8.256, allocations: 7.938 kB / 3.596 GB, free: 39.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/8.258, allocations: 104.5 kB / 3.596 GB, free: 39.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/8.258, allocations: 51.98 kB / 3.596 GB, free: 39.33 MB / 0.6198 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.0002603/8.258, allocations: 230.8 kB / 3.596 GB, free: 39.08 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001513/8.259, allocations: 1.176 MB / 3.597 GB, free: 37.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/8.26, allocations: 183.9 kB / 3.598 GB, free: 37.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/8.261, allocations: 1.256 MB / 3.599 GB, free: 36.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/8.261, allocations: 12 kB / 3.599 GB, free: 36.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/8.261, allocations: 2.344 kB / 3.599 GB, free: 36.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001279/8.263, allocations: 1.358 MB / 3.6 GB, free: 35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004408/8.267, allocations: 3.244 MB / 3.603 GB, free: 31.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/8.267, allocations: 4 kB / 3.603 GB, free: 31.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006875/8.268, allocations: 161.7 kB / 3.604 GB, free: 31.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/8.268, allocations: 12 kB / 3.604 GB, free: 31.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.692e-05/8.268, allocations: 15.98 kB / 3.604 GB, free: 31.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/8.268, allocations: 15.89 kB / 3.604 GB, free: 31.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/8.268, allocations: 9.531 kB / 3.604 GB, free: 31.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/8.27, allocations: 2.463 MB / 3.606 GB, free: 28.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007043/8.271, allocations: 434.6 kB / 3.606 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/8.271, allocations: 16 kB / 3.606 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009272/8.272, allocations: 82.45 kB / 3.606 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/8.272, allocations: 97.62 kB / 3.607 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.728e-05/8.272, allocations: 43.42 kB / 3.607 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001345/8.274, allocations: 1.136 MB / 3.608 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.395e-06/8.274, allocations: 0 / 3.608 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002464/8.276, allocations: 0.9172 MB / 3.609 GB, free: 26.13 MB / 0.6198 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.005746/8.282, allocations: 6.52 MB / 3.615 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002749/8.285, allocations: 2.945 MB / 3.618 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/8.285, allocations: 0 / 3.618 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008809/8.286, allocations: 0.9641 MB / 3.619 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003765/8.29, allocations: 0.8379 MB / 3.62 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006077/8.296, allocations: 3.52 MB / 3.623 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008485/8.296, allocations: 1.568 MB / 3.625 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002053/8.299, allocations: 0.5998 MB / 3.625 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007271/8.299, allocations: 0.7336 MB / 3.626 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of SimCode: time 1.283e-06/8.299, allocations: 0 / 3.626 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5161/8.815, allocations: 64.77 MB / 3.689 GB, free: 85.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/8.816, allocations: 180.8 kB / 3.689 GB, free: 85.19 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.895/12.71, allocations: 3.281 kB / 3.689 GB, free: 85.19 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)