Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.001567/0.001567, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5619/0.5619, allocations: 91.98 MB / 108.5 MB, free: 13.08 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.551/1.551, allocations: 223.2 MB / 354.3 MB, free: 10.49 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.0009461/0.0009461, allocations: 96.2 kB / 427.4 MB, free: 2.203 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 8 kB / 0.4983 GB, free: 41.99 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1601, allocations: 72.31 MB / 0.5689 GB, free: 1.617 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.86/5.02, allocations: 2.14 GB / 2.709 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/5.021, allocations: 97.05 kB / 2.709 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.343/8.364, allocations: 0.955 GB / 3.664 GB, free: 70.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.114e-06/8.364, allocations: 0 / 3.664 GB, free: 70.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000148/8.364, allocations: 46.47 kB / 3.664 GB, free: 70.05 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.006117/8.37, allocations: 2.382 MB / 3.666 GB, free: 68.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/8.37, allocations: 9.844 kB / 3.666 GB, free: 68.98 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002109/8.371, allocations: 148.1 kB / 3.666 GB, free: 68.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/8.373, allocations: 0.5455 MB / 3.667 GB, free: 68.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/8.376, allocations: 1.384 MB / 3.668 GB, free: 68.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006164/8.377, allocations: 217.5 kB / 3.668 GB, free: 68.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/8.377, allocations: 116.3 kB / 3.668 GB, free: 68.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/8.38, allocations: 1.37 MB / 3.67 GB, free: 68.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/8.38, allocations: 3.938 kB / 3.67 GB, free: 68.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/8.38, allocations: 35.92 kB / 3.67 GB, free: 68.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/8.38, allocations: 47.02 kB / 3.67 GB, free: 68.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002835/8.383, allocations: 1.354 MB / 3.671 GB, free: 68.29 MB / 0.6355 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.008504/8.391, allocations: 5.54 MB / 3.677 GB, free: 66.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/8.394, allocations: 1.137 MB / 3.678 GB, free: 66.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008533/8.395, allocations: 0.7507 MB / 3.678 GB, free: 65.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/8.396, allocations: 0.6575 MB / 3.679 GB, free: 65.33 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=81): time 3.827e-06/8.396, allocations: 112 / 3.679 GB, free: 65.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=81): time 0.004092/8.4, allocations: 1.732 MB / 3.681 GB, free: 65.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/8.4, allocations: 114.2 kB / 3.681 GB, free: 65.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/8.402, allocations: 1.169 MB / 3.682 GB, free: 64.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/8.402, allocations: 47.39 kB / 3.682 GB, free: 64.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004962/8.402, allocations: 0.632 MB / 3.683 GB, free: 64.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/8.402, allocations: 281.6 kB / 3.683 GB, free: 64.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/8.403, allocations: 19.44 kB / 3.683 GB, free: 64.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.162e-05/8.403, allocations: 346.8 kB / 3.683 GB, free: 64.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/8.404, allocations: 0.5446 MB / 3.684 GB, free: 64.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/8.405, allocations: 0.8472 MB / 3.685 GB, free: 63.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/8.407, allocations: 0.621 MB / 3.685 GB, free: 63.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/8.407, allocations: 10.48 kB / 3.685 GB, free: 63.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003217/8.41, allocations: 1.553 MB / 3.687 GB, free: 63.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004106/8.41, allocations: 1.907 MB / 3.689 GB, free: 61.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/8.41, allocations: 3.656 kB / 3.689 GB, free: 61.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/8.41, allocations: 11.44 kB / 3.689 GB, free: 61.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/8.412, allocations: 352.2 kB / 3.689 GB, free: 61.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005325/8.413, allocations: 1.203 MB / 3.69 GB, free: 60.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/8.415, allocations: 238 kB / 3.69 GB, free: 60.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/8.415, allocations: 57.94 kB / 3.69 GB, free: 60.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/8.415, allocations: 3.969 kB / 3.69 GB, free: 60.51 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002974/8.418, allocations: 1.405 MB / 3.692 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/8.418, allocations: 6.469 kB / 3.692 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/8.418, allocations: 8.062 kB / 3.692 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/8.419, allocations: 344.1 kB / 3.692 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/8.419, allocations: 8.562 kB / 3.692 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/8.421, allocations: 234.7 kB / 3.692 GB, free: 60.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/8.421, allocations: 61.72 kB / 3.692 GB, free: 60.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00079/8.422, allocations: 419.5 kB / 3.693 GB, free: 60.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/8.422, allocations: 155.8 kB / 3.693 GB, free: 60.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003334/8.425, allocations: 1.417 MB / 3.694 GB, free: 60.03 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/8.425, allocations: 11.91 kB / 3.694 GB, free: 60.03 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/8.425, allocations: 0 / 3.694 GB, free: 60.03 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/8.425, allocations: 10.36 kB / 3.694 GB, free: 60.03 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005701/8.431, allocations: 2.959 MB / 3.697 GB, free: 59.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/8.431, allocations: 13.89 kB / 3.697 GB, free: 59.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/8.432, allocations: 245.3 kB / 3.698 GB, free: 59.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/8.432, allocations: 9.281 kB / 3.698 GB, free: 59.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-05/8.433, allocations: 30.66 kB / 3.698 GB, free: 59.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000401/8.433, allocations: 1.194 MB / 3.699 GB, free: 58.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/8.433, allocations: 10.19 kB / 3.699 GB, free: 58.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004308/8.437, allocations: 2.402 MB / 3.701 GB, free: 57.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007584/8.438, allocations: 382.1 kB / 3.701 GB, free: 57.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/8.438, allocations: 20.12 kB / 3.702 GB, free: 57.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/8.44, allocations: 151.3 kB / 3.702 GB, free: 57.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/8.44, allocations: 76.02 kB / 3.702 GB, free: 57.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.673e-05/8.44, allocations: 45.84 kB / 3.702 GB, free: 57.53 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001386/8.442, allocations: 0.8868 MB / 3.703 GB, free: 57.42 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/8.442, allocations: 0 / 3.703 GB, free: 57.42 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003433/8.445, allocations: 0.9977 MB / 3.704 GB, free: 57.32 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * 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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008527/8.454, allocations: 5.869 MB / 3.709 GB, free: 54.74 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005475/8.459, allocations: 2.171 MB / 3.711 GB, free: 54.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/8.459, allocations: 7.438 kB / 3.711 GB, free: 54.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/8.461, allocations: 0.6644 MB / 3.712 GB, free: 54.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003827/8.465, allocations: 0.6749 MB / 3.713 GB, free: 54.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00952/8.474, allocations: 7.056 MB / 3.72 GB, free: 49.58 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009845/8.475, allocations: 1.261 MB / 3.721 GB, free: 48.85 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002603/8.478, allocations: 422 kB / 3.721 GB, free: 48.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009934/8.479, allocations: 0.5715 MB / 3.722 GB, free: 48.77 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/8.479, allocations: 3.938 kB / 3.722 GB, free: 48.76 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/8.596, allocations: 67.17 MB / 3.787 GB, free: 24.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/8.596, allocations: 263.5 kB / 3.788 GB, free: 24.26 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.87/13.47, allocations: 4 kB / 3.788 GB, free: 24.26 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)