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.001362/0.001362, allocations: 100.1 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.001593/0.001594, 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 1.994/1.994, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9873/0.9873, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.000412, allocations: 17.31 kB / 0.5033 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5728/0.5732, allocations: 81.57 MB / 0.583 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.2809/0.8542, allocations: 166.7 MB / 0.7458 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.8656, allocations: 7.047 MB / 0.7527 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.8671, allocations: 35.75 kB / 0.7527 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.8692, allocations: 0.6182 MB / 0.7533 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005595/0.8749, allocations: 1.776 MB / 0.7551 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003754/0.8786, allocations: 1.164 MB / 0.7562 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003213/0.8819, allocations: 1.565 MB / 0.7577 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.8832, allocations: 0.7503 MB / 0.7585 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.8862, allocations: 1.09 MB / 0.7595 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.8874, allocations: 0.5484 MB / 0.7601 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.8875, allocations: 40 kB / 0.7601 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.8905, allocations: 1.104 MB / 0.7612 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000323/0.8909, allocations: 243.1 kB / 0.7614 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.8912, allocations: 245.1 kB / 0.7616 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.8932, allocations: 1.407 MB / 0.763 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.8932, allocations: 0 / 0.763 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8932, allocations: 0 / 0.763 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.8933, allocations: 0 / 0.763 GB, free: 7.672 MB / 0.5919 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.003843/0.8971, allocations: 1.448 MB / 0.7644 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.8972, allocations: 8.031 kB / 0.7644 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001847/0.8974, allocations: 118.5 kB / 0.7645 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/0.8999, allocations: 474.1 kB / 0.765 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.9018, allocations: 0.8712 MB / 0.7658 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006938/0.9025, allocations: 193.8 kB / 0.766 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.9026, allocations: 72 kB / 0.7661 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/0.9052, allocations: 1.118 MB / 0.7672 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.9052, allocations: 7.938 kB / 0.7672 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/0.9053, allocations: 27.98 kB / 0.7672 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/0.9054, allocations: 30 kB / 0.7673 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003393/0.9088, allocations: 1.269 MB / 0.7685 GB, free: 1.922 MB / 0.5919 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.007122/0.9159, allocations: 4.177 MB / 0.7726 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/0.9188, allocations: 0.9421 MB / 0.7735 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006616/0.9195, allocations: 494 kB / 0.774 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001642/0.9212, allocations: 0.6304 MB / 0.7746 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 2.615e-06/0.9212, allocations: 0 / 0.7746 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.004651/0.9258, allocations: 1.517 MB / 0.7761 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.9259, allocations: 93.59 kB / 0.7761 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.9271, allocations: 0.8278 MB / 0.777 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.9272, allocations: 41.7 kB / 0.777 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.9276, allocations: 432.3 kB / 0.7774 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.9278, allocations: 189.2 kB / 0.7776 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.9278, allocations: 12 kB / 0.7776 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.928, allocations: 334 kB / 0.7779 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.9293, allocations: 452.8 kB / 0.7784 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.9308, allocations: 0.5682 MB / 0.7789 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.9322, allocations: 0.4917 MB / 0.7794 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.9322, allocations: 4 kB / 0.7794 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003192/0.9354, allocations: 1.159 MB / 0.7805 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003148/0.9357, allocations: 0.7305 MB / 0.7812 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.9357, allocations: 4 kB / 0.7812 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.9358, allocations: 4 kB / 0.7812 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.9373, allocations: 255.7 kB / 0.7815 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007083/0.938, allocations: 1.199 MB / 0.7827 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.9393, allocations: 187.4 kB / 0.7828 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/0.9394, allocations: 27.97 kB / 0.7829 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.138e-06/0.9394, allocations: 4 kB / 0.7829 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002863/0.9423, allocations: 1.061 MB / 0.7839 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.9423, allocations: 3.938 kB / 0.7839 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.9423, allocations: 4 kB / 0.7839 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.9433, allocations: 227.8 kB / 0.7841 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.9434, allocations: 8 kB / 0.7841 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.9445, allocations: 175.3 kB / 0.7843 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.9446, allocations: 39.97 kB / 0.7843 GB, free: 1.047 MB / 0.6075 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * 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 (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.0005706/0.9452, allocations: 340.9 kB / 0.7847 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.9453, allocations: 98.78 kB / 0.7848 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/0.9485, allocations: 1.202 MB / 0.7859 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.9485, allocations: 7.953 kB / 0.7859 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.9486, allocations: 4 kB / 0.7859 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.9486, allocations: 3.984 kB / 0.786 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004694/0.9533, allocations: 2.396 MB / 0.7883 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.9533, allocations: 0 / 0.7883 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.9544, allocations: 223.9 kB / 0.7885 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/0.9544, allocations: 4 kB / 0.7885 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/0.9544, allocations: 19.98 kB / 0.7885 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005669/0.955, allocations: 1.199 MB / 0.7897 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/0.955, allocations: 4.094 kB / 0.7897 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.9581, allocations: 1.423 MB / 0.7911 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.9587, allocations: 299.5 kB / 0.7914 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.9588, allocations: 12 kB / 0.7914 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.96, allocations: 155.8 kB / 0.7915 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.9601, allocations: 60.3 kB / 0.7916 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.9602, allocations: 31.97 kB / 0.7916 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008019/0.961, allocations: 0.582 MB / 0.7922 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/0.961, allocations: 3.938 kB / 0.7922 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00136/0.9624, allocations: 491 kB / 0.7927 GB, free: 8.219 MB / 0.6231 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 (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.004222/0.9666, allocations: 2.905 MB / 0.7955 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005096/0.9718, allocations: 1.738 MB / 0.7972 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.9718, allocations: 0 / 0.7972 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.9736, allocations: 0.5964 MB / 0.7978 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/0.9762, allocations: 461.6 kB / 0.7982 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006252/0.9825, allocations: 3.821 MB / 0.802 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006208/0.9831, allocations: 1.058 MB / 0.803 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001414/0.9846, allocations: 289.4 kB / 0.8033 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006307/0.9852, allocations: 359.3 kB / 0.8036 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of SimCode: time 1.283e-06/0.9852, allocations: 0 / 0.8036 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4937/1.479, allocations: 26.57 MB / 0.8296 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/1.479, allocations: 253.3 kB / 0.8298 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.534/5.013, allocations: 0 / 0.8298 GB, free: 212.1 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/linux/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) Environment - environmentSimulation: