Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.248/2.248, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.298/1.298, allocations: 132.3 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000538/0.0005384, allocations: 12 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7467/0.7472, allocations: 81.57 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.3627/1.11, allocations: 172.2 MB / 0.7511 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02845/1.138, allocations: 11.95 MB / 0.7628 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003166/1.142, allocations: 39.69 kB / 0.7628 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004372/1.146, allocations: 0.7077 MB / 0.7635 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/1.157, allocations: 2.009 MB / 0.7655 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009131/1.166, allocations: 1.731 MB / 0.7672 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006434/1.172, allocations: 1.929 MB / 0.7691 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/1.175, allocations: 0.8986 MB / 0.7699 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005614/1.181, allocations: 1.39 MB / 0.7713 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/1.183, allocations: 0.7197 MB / 0.772 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003716/1.184, allocations: 56 kB / 0.772 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007361/1.191, allocations: 2.036 MB / 0.774 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008391/1.192, allocations: 314.9 kB / 0.7743 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008775/1.193, allocations: 312.9 kB / 0.7746 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005936/1.199, allocations: 2.027 MB / 0.7766 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.199, allocations: 0 / 0.7766 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.156e-06/1.199, allocations: 0 / 0.7766 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.062e-05/1.199, allocations: 0 / 0.7766 GB, free: 9.852 MB / 0.6075 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.006946/1.206, allocations: 1.803 MB / 0.7784 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.94e-05/1.206, allocations: 16.02 kB / 0.7784 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003914/1.206, allocations: 135.7 kB / 0.7785 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0048/1.211, allocations: 0.5718 MB / 0.7791 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003579/1.215, allocations: 1.025 MB / 0.7801 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001114/1.216, allocations: 214.1 kB / 0.7803 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004472/1.216, allocations: 96 kB / 0.7804 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004449/1.221, allocations: 1.268 MB / 0.7816 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/1.221, allocations: 0 / 0.7816 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/1.221, allocations: 32 kB / 0.7816 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-05/1.221, allocations: 45.94 kB / 0.7817 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005303/1.226, allocations: 1.323 MB / 0.783 GB, free: 3.18 MB / 0.6075 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.01424/1.241, allocations: 4.916 MB / 0.7878 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004314/1.245, allocations: 1.064 MB / 0.7888 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/1.247, allocations: 0.6916 MB / 0.7895 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002514/1.249, allocations: 0.7462 MB / 0.7902 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=85): time 5.089e-06/1.249, allocations: 0 / 0.7902 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=85): time 0.007532/1.257, allocations: 1.941 MB / 0.7921 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.257, allocations: 145.2 kB / 0.7923 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/1.259, allocations: 1.038 MB / 0.7933 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002328/1.259, allocations: 45.7 kB / 0.7933 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000746/1.26, allocations: 0.5203 MB / 0.7938 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004273/1.261, allocations: 280 kB / 0.7941 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/1.261, allocations: 20 kB / 0.7941 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.261, allocations: 341.9 kB / 0.7944 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/1.263, allocations: 0.5134 MB / 0.7949 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/1.266, allocations: 0.7057 MB / 0.7956 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/1.269, allocations: 0.6075 MB / 0.7962 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/1.269, allocations: 0 / 0.7962 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006182/1.275, allocations: 1.491 MB / 0.7977 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007607/1.276, allocations: 1.128 MB / 0.7988 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/1.276, allocations: 4 kB / 0.7988 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.302e-05/1.276, allocations: 8 kB / 0.7988 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/1.278, allocations: 263.6 kB / 0.799 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.037e-05/1.278, allocations: 11.94 kB / 0.799 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/1.28, allocations: 211.2 kB / 0.7992 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/1.281, allocations: 47.97 kB / 0.7993 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.281, allocations: 4 kB / 0.7993 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005237/1.286, allocations: 1.413 MB / 0.8007 GB, free: 260 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.286, allocations: 0 / 0.8007 GB, free: 260 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/1.286, allocations: 8 kB / 0.8007 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/1.288, allocations: 271.7 kB / 0.8009 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/1.288, allocations: 8 kB / 0.801 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/1.291, allocations: 206.7 kB / 0.8011 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/1.291, allocations: 47.97 kB / 0.8012 GB, free: 15.73 MB / 0.6387 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.001333/1.292, allocations: 465.8 kB / 0.8016 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005469/1.293, allocations: 126.5 kB / 0.8018 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005663/1.299, allocations: 1.506 MB / 0.8032 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/1.299, allocations: 11.98 kB / 0.8032 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/1.299, allocations: 7.938 kB / 0.8032 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/1.299, allocations: 11.94 kB / 0.8033 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009708/1.309, allocations: 3.045 MB / 0.8062 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.309, allocations: 4 kB / 0.8062 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/1.31, allocations: 199.8 kB / 0.8064 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.53e-05/1.31, allocations: 11.98 kB / 0.8064 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/1.31, allocations: 27.98 kB / 0.8065 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.876e-05/1.31, allocations: 11.94 kB / 0.8065 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.31, allocations: 8 kB / 0.8065 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008158/1.319, allocations: 2.467 MB / 0.8089 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/1.32, allocations: 351.1 kB / 0.8092 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003371/1.32, allocations: 24 kB / 0.8093 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/1.323, allocations: 128 kB / 0.8094 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/1.323, allocations: 64.38 kB / 0.8094 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/1.323, allocations: 43.97 kB / 0.8095 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001773/1.325, allocations: 0.7088 MB / 0.8102 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.01e-07/1.325, allocations: 0 / 0.8102 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003912/1.329, allocations: 0.7877 MB / 0.8109 GB, free: 5.445 MB / 0.6387 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: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * 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 (83): * Single equations (assignments): 79 * 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.01073/1.339, allocations: 4.302 MB / 0.8151 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.6288/1.968, allocations: 2.261 MB / 0.8173 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.968, allocations: 0.8438 kB / 0.8173 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002731/1.971, allocations: 0.786 MB / 0.8181 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004836/1.976, allocations: 0.4966 MB / 0.8186 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/1.989, allocations: 5.202 MB / 0.8237 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/1.991, allocations: 1.182 MB / 0.8248 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003537/1.995, allocations: 360.9 kB / 0.8252 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/1.996, allocations: 497.2 kB / 0.8257 GB, free: 213 MB / 0.6387 GB Notification: Performance of SimCode: time 1.884e-06/1.996, allocations: 0 / 0.8257 GB, free: 213 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/2.118, allocations: 35.4 MB / 0.8602 GB, free: 192.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002685/2.119, allocations: 225.3 kB / 0.8604 GB, free: 191.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.723/6.842, allocations: 0 / 0.8604 GB, free: 191.9 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) Environment - environmentSimulation: