Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.Validation.ConstantEffectiveness,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness",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.0009602/0.0009602, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005137/0.005137, allocations: 171.7 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6666/0.6666, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.000331, allocations: 12.81 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3363, allocations: 81.57 MB / 0.5837 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.1749/0.5113, allocations: 195 MB / 0.7742 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009301/0.5206, allocations: 7.648 MB / 0.7817 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009101/0.5215, allocations: 35.75 kB / 0.7817 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.5229, allocations: 0.5516 MB / 0.7822 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003785/0.5267, allocations: 1.843 MB / 0.784 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.5289, allocations: 1.063 MB / 0.7851 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003225/0.5321, allocations: 3.468 MB / 0.7884 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009963/0.5331, allocations: 0.8152 MB / 0.7892 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00232/0.5355, allocations: 1.369 MB / 0.7906 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.5367, allocations: 0.791 MB / 0.7914 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.125e-05/0.5368, allocations: 40 kB / 0.7914 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002884/0.5397, allocations: 1.972 MB / 0.7933 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002434/0.54, allocations: 262.9 kB / 0.7936 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004903/0.5405, allocations: 0.565 MB / 0.7941 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.5426, allocations: 2.114 MB / 0.7962 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5426, allocations: 0 / 0.7962 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5426, allocations: 0 / 0.7962 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.5426, allocations: 0 / 0.7962 GB, free: 5.992 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002903/0.5455, allocations: 1.464 MB / 0.7976 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.5456, allocations: 8.031 kB / 0.7976 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.5457, allocations: 114.5 kB / 0.7977 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.5479, allocations: 482 kB / 0.7982 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.5493, allocations: 0.9174 MB / 0.7991 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005883/0.5499, allocations: 193.8 kB / 0.7993 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.55, allocations: 72 kB / 0.7993 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.5522, allocations: 1.13 MB / 0.8004 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.5523, allocations: 0 / 0.8004 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.18e-05/0.5523, allocations: 28 kB / 0.8005 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.5524, allocations: 37.92 kB / 0.8005 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/0.5553, allocations: 1.276 MB / 0.8018 GB, free: 160 kB / 0.6231 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.005398/0.5607, allocations: 4.157 MB / 0.8058 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.5632, allocations: 0.942 MB / 0.8067 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.5644, allocations: 0.5334 MB / 0.8073 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006998/0.5651, allocations: 0.6487 MB / 0.8079 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001413/0.5665, allocations: 0.6382 MB / 0.8085 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 3.356e-06/0.5665, allocations: 3.984 kB / 0.8085 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.003913/0.5705, allocations: 1.528 MB / 0.81 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.5705, allocations: 89.66 kB / 0.8101 GB, free: 7.145 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/0.5714, allocations: 0.8356 MB / 0.8109 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.917e-05/0.5715, allocations: 37.7 kB / 0.8109 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.5718, allocations: 424.4 kB / 0.8113 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.5719, allocations: 193.2 kB / 0.8115 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.572, allocations: 49.69 kB / 0.8116 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.5721, allocations: 338 kB / 0.8119 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.5733, allocations: 456.8 kB / 0.8123 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.5746, allocations: 0.5838 MB / 0.8129 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.5769, allocations: 0.9874 MB / 0.8139 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5769, allocations: 0 / 0.8139 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002712/0.5796, allocations: 1.163 MB / 0.815 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.61e-05/0.5798, allocations: 177.1 kB / 0.8152 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5798, allocations: 3.938 kB / 0.8152 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5798, allocations: 4 kB / 0.8152 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.581, allocations: 259.6 kB / 0.8154 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005765/0.5816, allocations: 1.184 MB / 0.8166 GB, free: 284 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.5827, allocations: 199.2 kB / 0.8168 GB, free: 84 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.5828, allocations: 31.98 kB / 0.8168 GB, free: 52 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/0.5828, allocations: 4 kB / 0.8168 GB, free: 48 kB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2881/0.8709, allocations: 1.049 MB / 0.8178 GB, free: 31.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.871, allocations: 2.234 kB / 0.8178 GB, free: 31.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.871, allocations: 4.375 kB / 0.8178 GB, free: 31.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.872, allocations: 224.3 kB / 0.8181 GB, free: 31.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.872, allocations: 4.797 kB / 0.8181 GB, free: 31.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.8732, allocations: 188.7 kB / 0.8182 GB, free: 31.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.923e-05/0.8733, allocations: 29.58 kB / 0.8183 GB, free: 31.25 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005252/0.8739, allocations: 344.6 kB / 0.8186 GB, free: 31.07 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.8741, allocations: 99.81 kB / 0.8187 GB, free: 31.07 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003201/0.8773, allocations: 1.208 MB / 0.8199 GB, free: 31.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.8773, allocations: 11.05 kB / 0.8199 GB, free: 31.02 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.8773, allocations: 0.875 kB / 0.8199 GB, free: 31.02 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.8773, allocations: 3.938 kB / 0.8199 GB, free: 31.02 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004838/0.8822, allocations: 2.391 MB / 0.8222 GB, free: 30.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.8822, allocations: 6.688 kB / 0.8222 GB, free: 30.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009442/0.8832, allocations: 224.5 kB / 0.8224 GB, free: 30.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.8832, allocations: 5.25 kB / 0.8225 GB, free: 30.61 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/0.8832, allocations: 29.14 kB / 0.8225 GB, free: 30.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003211/0.8836, allocations: 1.188 MB / 0.8236 GB, free: 29.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.8836, allocations: 7.031 kB / 0.8236 GB, free: 29.45 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.8864, allocations: 1.286 MB / 0.8249 GB, free: 29.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/0.8868, allocations: 292.6 kB / 0.8252 GB, free: 29.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.8869, allocations: 20.06 kB / 0.8252 GB, free: 29.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.8881, allocations: 162.9 kB / 0.8254 GB, free: 29.02 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.8882, allocations: 53.2 kB / 0.8254 GB, free: 29.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-05/0.8883, allocations: 33.62 kB / 0.8254 GB, free: 29.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007226/0.889, allocations: 0.5779 MB / 0.826 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.889, allocations: 0 / 0.826 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00132/0.8903, allocations: 483.2 kB / 0.8265 GB, free: 28.88 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003377/0.8937, allocations: 2.026 MB / 0.8284 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004395/0.8981, allocations: 1.757 MB / 0.8302 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8981, allocations: 1.094 kB / 0.8302 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.8996, allocations: 0.6013 MB / 0.8307 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.9021, allocations: 455.9 kB / 0.8312 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/0.9164, allocations: 8.733 MB / 0.8397 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.9168, allocations: 1.045 MB / 0.8407 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00113/0.9179, allocations: 290.5 kB / 0.841 GB, free: 23.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.9184, allocations: 360.2 kB / 0.8414 GB, free: 23.94 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.9184, allocations: 0 / 0.8414 GB, free: 23.94 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4643/1.383, allocations: 25.78 MB / 0.8665 GB, free: 18.61 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/1.383, allocations: 279.1 kB / 0.8668 GB, free: 18.24 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/4.41, allocations: 2.734 kB / 0.8668 GB, free: 18.24 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)