Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",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.001384/0.001384, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4987/0.4987, allocations: 90.92 MB / 99.35 MB, free: 2.191 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.493/1.493, allocations: 221.5 MB / 343.2 MB, free: 1.582 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.0007715/0.0007715, allocations: 99.92 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.914e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.206/5.342, allocations: 2.148 GB / 2.702 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/5.343, allocations: 86.41 kB / 2.702 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.891/8.234, allocations: 0.916 GB / 3.618 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/8.234, allocations: 3.938 kB / 3.618 GB, free: 7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002266/8.234, allocations: 39.98 kB / 3.618 GB, free: 6.961 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.006882/8.241, allocations: 1.947 MB / 3.62 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/8.241, allocations: 8.031 kB / 3.62 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003412/8.245, allocations: 0.5211 MB / 3.62 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003733/8.248, allocations: 1.223 MB / 3.621 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006539/8.249, allocations: 173.9 kB / 3.622 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004197/8.25, allocations: 60 kB / 3.622 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002229/8.252, allocations: 0.9216 MB / 3.623 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/8.254, allocations: 1.035 MB / 3.624 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/8.254, allocations: 3.984 kB / 3.624 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/8.254, allocations: 3.953 kB / 3.624 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.909e-05/8.254, allocations: 38 kB / 3.624 GB, free: 0.8867 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.5152/8.769, allocations: 4.912 MB / 3.628 GB, free: 62.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/8.771, allocations: 0.8116 MB / 3.629 GB, free: 62.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007479/8.772, allocations: 445.1 kB / 3.63 GB, free: 62.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/8.773, allocations: 0.8386 MB / 3.63 GB, free: 61.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/8.774, allocations: 0.6176 MB / 3.631 GB, free: 61.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=84): time 4.318e-06/8.774, allocations: 1.812 kB / 3.631 GB, free: 61.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.003466/8.777, allocations: 1.116 MB / 3.632 GB, free: 61.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/8.778, allocations: 146.1 kB / 3.632 GB, free: 61.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/8.779, allocations: 0.7435 MB / 3.633 GB, free: 61.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/8.779, allocations: 29.05 kB / 3.633 GB, free: 61.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/8.78, allocations: 0.5346 MB / 3.634 GB, free: 61.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000318/8.78, allocations: 261.4 kB / 3.634 GB, free: 60.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/8.78, allocations: 1.188 kB / 3.634 GB, free: 60.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001326/8.78, allocations: 343.9 kB / 3.634 GB, free: 60.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/8.781, allocations: 384.1 kB / 3.634 GB, free: 60.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000883/8.782, allocations: 0.5859 MB / 3.635 GB, free: 60.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/8.784, allocations: 0.5396 MB / 3.636 GB, free: 60.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/8.784, allocations: 1.438 kB / 3.636 GB, free: 60.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003133/8.787, allocations: 1.289 MB / 3.637 GB, free: 60.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004366/8.787, allocations: 1.205 MB / 3.638 GB, free: 59.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/8.787, allocations: 6.062 kB / 3.638 GB, free: 59.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/8.787, allocations: 7.25 kB / 3.638 GB, free: 59.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/8.788, allocations: 263.3 kB / 3.638 GB, free: 59.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/8.789, allocations: 10.72 kB / 3.638 GB, free: 59.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/8.79, allocations: 188.4 kB / 3.638 GB, free: 59.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/8.791, allocations: 53.05 kB / 3.639 GB, free: 59.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/8.791, allocations: 3.281 kB / 3.639 GB, free: 59.05 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002691/8.793, allocations: 1.17 MB / 3.64 GB, free: 59.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/8.793, allocations: 6.703 kB / 3.64 GB, free: 59.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/8.793, allocations: 12.73 kB / 3.64 GB, free: 59.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/8.795, allocations: 269.5 kB / 3.64 GB, free: 59.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/8.795, allocations: 14.11 kB / 3.64 GB, free: 59.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/8.796, allocations: 173.2 kB / 3.64 GB, free: 59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/8.796, allocations: 54.94 kB / 3.64 GB, free: 59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 2 * 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.0004451/8.797, allocations: 190.2 kB / 3.64 GB, free: 58.83 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002505/8.799, allocations: 1.115 MB / 3.641 GB, free: 58.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/8.799, allocations: 128.2 kB / 3.642 GB, free: 58.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/8.802, allocations: 1.275 MB / 3.643 GB, free: 58.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/8.802, allocations: 10.72 kB / 3.643 GB, free: 58.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/8.802, allocations: 0 / 3.643 GB, free: 58.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/8.802, allocations: 7.594 kB / 3.643 GB, free: 58.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006231/8.809, allocations: 2.701 MB / 3.645 GB, free: 58.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/8.809, allocations: 4.359 kB / 3.645 GB, free: 58.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/8.81, allocations: 202.8 kB / 3.646 GB, free: 58.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/8.81, allocations: 9.797 kB / 3.646 GB, free: 58.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-05/8.81, allocations: 29.77 kB / 3.646 GB, free: 58.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.46e-05/8.81, allocations: 6.953 kB / 3.646 GB, free: 58.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/8.81, allocations: 10.47 kB / 3.646 GB, free: 58.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/8.814, allocations: 2.117 MB / 3.648 GB, free: 57.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008478/8.815, allocations: 354.4 kB / 3.648 GB, free: 57.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/8.815, allocations: 11.38 kB / 3.648 GB, free: 57.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/8.816, allocations: 129.9 kB / 3.648 GB, free: 57.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/8.817, allocations: 59.97 kB / 3.648 GB, free: 57.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/8.817, allocations: 52.81 kB / 3.648 GB, free: 57.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001148/8.818, allocations: 0.5597 MB / 3.649 GB, free: 57.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/8.818, allocations: 1.094 kB / 3.649 GB, free: 57.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003704/8.822, allocations: 0.9432 MB / 3.65 GB, free: 57.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 2 * 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.008424/8.83, allocations: 5.822 MB / 3.656 GB, free: 54.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003038/8.833, allocations: 1.835 MB / 3.657 GB, free: 54.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/8.833, allocations: 6.438 kB / 3.657 GB, free: 54.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007611/8.834, allocations: 0.6244 MB / 3.658 GB, free: 54.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/8.836, allocations: 424.8 kB / 3.658 GB, free: 54.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/8.842, allocations: 2.086 MB / 3.66 GB, free: 53.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/8.842, allocations: 1.189 MB / 3.662 GB, free: 53.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001981/8.844, allocations: 401.2 kB / 3.662 GB, free: 53.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006501/8.845, allocations: 478 kB / 3.662 GB, free: 53.16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.233e-06/8.845, allocations: 0 / 3.662 GB, free: 53.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09231/8.937, allocations: 46.92 MB / 3.708 GB, free: 51.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/8.938, allocations: 183.2 kB / 3.708 GB, free: 51.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.68/12.62, allocations: 0 / 3.708 GB, free: 51.52 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)