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.001687/0.001686, allocations: 179.2 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.5072/0.5072, allocations: 91.99 MB / 108.5 MB, free: 13.1 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.471/1.471, allocations: 223.2 MB / 354.3 MB, free: 12.23 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.00105/0.00105, allocations: 95.2 kB / 427.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003246, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1459, allocations: 72.3 MB / 0.5689 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.913/5.059, allocations: 2.149 GB / 2.718 GB, free: 207.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/5.059, allocations: 95.34 kB / 2.718 GB, free: 207.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.155/8.215, allocations: 0.9263 GB / 3.644 GB, free: 74.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.744e-06/8.215, allocations: 0 / 3.644 GB, free: 74.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001897/8.215, allocations: 40.53 kB / 3.644 GB, free: 74.79 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.007026/8.222, allocations: 2.184 MB / 3.646 GB, free: 74.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/8.222, allocations: 13.36 kB / 3.646 GB, free: 74.02 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004361/8.222, allocations: 139.8 kB / 3.646 GB, free: 73.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/8.226, allocations: 0.5172 MB / 3.647 GB, free: 73.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/8.229, allocations: 1.237 MB / 3.648 GB, free: 73.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006761/8.23, allocations: 206.9 kB / 3.648 GB, free: 73.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/8.23, allocations: 97.28 kB / 3.648 GB, free: 73.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/8.233, allocations: 1.289 MB / 3.65 GB, free: 73.49 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/8.233, allocations: 3.609 kB / 3.65 GB, free: 73.49 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/8.233, allocations: 37.05 kB / 3.65 GB, free: 73.49 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.864e-05/8.233, allocations: 40.33 kB / 3.65 GB, free: 73.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/8.236, allocations: 1.275 MB / 3.651 GB, free: 73.48 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.00917/8.245, allocations: 5.118 MB / 3.656 GB, free: 71.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/8.248, allocations: 1.072 MB / 3.657 GB, free: 71.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009674/8.249, allocations: 0.8347 MB / 3.658 GB, free: 70.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/8.25, allocations: 0.731 MB / 3.659 GB, free: 70.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=84): time 2.424e-06/8.251, allocations: 0 / 3.659 GB, free: 70.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84): time 0.004282/8.255, allocations: 2.015 MB / 3.66 GB, free: 70.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/8.255, allocations: 126.7 kB / 3.661 GB, free: 70.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/8.256, allocations: 0.9046 MB / 3.661 GB, free: 69.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.216e-05/8.256, allocations: 48.3 kB / 3.662 GB, free: 69.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/8.256, allocations: 0.5369 MB / 3.662 GB, free: 69.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/8.257, allocations: 271.7 kB / 3.662 GB, free: 69.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.883e-05/8.257, allocations: 16.34 kB / 3.662 GB, free: 69.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.271e-05/8.257, allocations: 342.8 kB / 3.663 GB, free: 69.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/8.258, allocations: 0.5311 MB / 3.663 GB, free: 69.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/8.26, allocations: 0.7477 MB / 3.664 GB, free: 69.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/8.261, allocations: 0.6315 MB / 3.665 GB, free: 69 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/8.261, allocations: 2.219 kB / 3.665 GB, free: 69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003013/8.264, allocations: 1.563 MB / 3.666 GB, free: 68.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002211/8.264, allocations: 1.128 MB / 3.667 GB, free: 67.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/8.264, allocations: 5.875 kB / 3.667 GB, free: 67.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/8.264, allocations: 7 kB / 3.667 GB, free: 67.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/8.265, allocations: 268 kB / 3.667 GB, free: 67.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/8.265, allocations: 13.84 kB / 3.667 GB, free: 67.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/8.267, allocations: 212.7 kB / 3.668 GB, free: 67.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/8.267, allocations: 55.66 kB / 3.668 GB, free: 67.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/8.267, allocations: 3.688 kB / 3.668 GB, free: 67.64 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002923/8.27, allocations: 1.482 MB / 3.669 GB, free: 67.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/8.27, allocations: 7.047 kB / 3.669 GB, free: 67.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.763e-06/8.27, allocations: 7.812 kB / 3.669 GB, free: 67.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/8.271, allocations: 266.8 kB / 3.669 GB, free: 67.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/8.271, allocations: 7.781 kB / 3.669 GB, free: 67.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/8.273, allocations: 201.3 kB / 3.67 GB, free: 67.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/8.273, allocations: 59 kB / 3.67 GB, free: 67.53 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($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,hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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.0006488/8.273, allocations: 472.7 kB / 3.67 GB, free: 67.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/8.274, allocations: 128.9 kB / 3.67 GB, free: 67.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003098/8.277, allocations: 1.573 MB / 3.672 GB, free: 67.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/8.277, allocations: 11.03 kB / 3.672 GB, free: 67.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/8.277, allocations: 0 / 3.672 GB, free: 67.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/8.277, allocations: 3.844 kB / 3.672 GB, free: 67.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005124/8.282, allocations: 3.055 MB / 3.675 GB, free: 66.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/8.282, allocations: 7.891 kB / 3.675 GB, free: 66.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/8.283, allocations: 209.8 kB / 3.675 GB, free: 66.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/8.283, allocations: 7.156 kB / 3.675 GB, free: 66.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.176e-05/8.283, allocations: 32.31 kB / 3.675 GB, free: 66.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/8.283, allocations: 7.109 kB / 3.675 GB, free: 66.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/8.283, allocations: 9.812 kB / 3.675 GB, free: 66.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/8.288, allocations: 2.549 MB / 3.678 GB, free: 65.95 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006747/8.288, allocations: 369.3 kB / 3.678 GB, free: 65.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/8.289, allocations: 22.12 kB / 3.678 GB, free: 65.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/8.29, allocations: 139.5 kB / 3.678 GB, free: 65.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/8.29, allocations: 69.92 kB / 3.678 GB, free: 65.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/8.29, allocations: 53.36 kB / 3.678 GB, free: 65.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009764/8.291, allocations: 0.7036 MB / 3.679 GB, free: 65.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.31e-07/8.291, allocations: 2.844 kB / 3.679 GB, free: 65.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00326/8.295, allocations: 1.006 MB / 3.68 GB, free: 65.6 MB / 0.6355 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) * Number of clocked states: 0 () * 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.008351/8.303, allocations: 6.05 MB / 3.686 GB, free: 63.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004553/8.308, allocations: 2.296 MB / 3.688 GB, free: 62.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/8.308, allocations: 5.656 kB / 3.688 GB, free: 62.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/8.309, allocations: 0.7942 MB / 3.689 GB, free: 62.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/8.312, allocations: 0.4985 MB / 3.689 GB, free: 62.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/8.319, allocations: 5.178 MB / 3.694 GB, free: 59.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000783/8.32, allocations: 1.183 MB / 3.695 GB, free: 58.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001968/8.322, allocations: 362 kB / 3.696 GB, free: 58.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007662/8.323, allocations: 0.4892 MB / 3.696 GB, free: 58.7 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/8.323, allocations: 0 / 3.696 GB, free: 58.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09455/8.417, allocations: 62.34 MB / 3.757 GB, free: 56.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/8.417, allocations: 238.9 kB / 3.757 GB, free: 55.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.48/12.9, allocations: 7.875 kB / 3.757 GB, free: 55.91 MB / 0.6355 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)