Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_HeaterCooler_u",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.001889/0.001889, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8331/0.8331, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.733/1.733, allocations: 221.3 MB / 400.4 MB, free: 5.805 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 93.17 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.729e-05, allocations: 2.844 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1815, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.424/5.606, allocations: 1.894 GB / 2.535 GB, free: 35.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/5.606, allocations: 90.16 kB / 2.535 GB, free: 35.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.42/10.03, allocations: 1.05 GB / 3.584 GB, free: 33.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/10.03, allocations: 0 / 3.584 GB, free: 33.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003087/10.03, allocations: 51.92 kB / 3.584 GB, free: 33.74 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.006749/10.03, allocations: 2.065 MB / 3.586 GB, free: 31.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/10.03, allocations: 15.95 kB / 3.586 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006564/10.03, allocations: 173.3 kB / 3.587 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004792/10.04, allocations: 0.6306 MB / 3.587 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004786/10.04, allocations: 1.433 MB / 3.589 GB, free: 29.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003945/10.04, allocations: 154.2 kB / 3.589 GB, free: 29.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004571/10.04, allocations: 124 kB / 3.589 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/10.05, allocations: 1.36 MB / 3.59 GB, free: 27.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/10.05, allocations: 4 kB / 3.59 GB, free: 27.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/10.05, allocations: 52 kB / 3.59 GB, free: 27.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/10.05, allocations: 46.17 kB / 3.59 GB, free: 27.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/10.05, allocations: 1.047 MB / 3.591 GB, free: 26.43 MB / 0.698 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.01076/10.06, allocations: 5.869 MB / 3.597 GB, free: 20.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/10.06, allocations: 0.9739 MB / 3.598 GB, free: 19.22 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006524/10.06, allocations: 484.5 kB / 3.598 GB, free: 18.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005167/10.06, allocations: 312 kB / 3.599 GB, free: 18.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008001/10.06, allocations: 0.5423 MB / 3.599 GB, free: 17.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 4.118e-06/10.06, allocations: 0 / 3.599 GB, free: 17.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.007513/10.07, allocations: 3.066 MB / 3.602 GB, free: 14.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/10.07, allocations: 192.7 kB / 3.602 GB, free: 14.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/10.07, allocations: 1.158 MB / 3.604 GB, free: 13.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/10.07, allocations: 41.7 kB / 3.604 GB, free: 13.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007058/10.07, allocations: 0.7255 MB / 3.604 GB, free: 12.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/10.08, allocations: 327.3 kB / 3.605 GB, free: 12.19 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/10.08, allocations: 20 kB / 3.605 GB, free: 12.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.895e-05/10.08, allocations: 341.9 kB / 3.605 GB, free: 11.83 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/10.08, allocations: 381.9 kB / 3.605 GB, free: 11.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007164/10.08, allocations: 0.6108 MB / 3.606 GB, free: 10.76 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009879/10.09, allocations: 2.358 MB / 3.608 GB, free: 8.375 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/10.09, allocations: 3.938 kB / 3.608 GB, free: 8.371 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004102/10.09, allocations: 1.658 MB / 3.61 GB, free: 6.688 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000361/10.09, allocations: 1.296 MB / 3.611 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/10.09, allocations: 4 kB / 3.611 GB, free: 5.266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/10.09, allocations: 422 kB / 3.612 GB, free: 4.844 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000763/10.09, allocations: 175.8 kB / 3.612 GB, free: 4.672 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007378/10.1, allocations: 6.894 MB / 3.618 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/10.1, allocations: 143.7 kB / 3.619 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/10.1, allocations: 39.98 kB / 3.619 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/10.1, allocations: 8 kB / 3.619 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003985/10.11, allocations: 1.499 MB / 3.62 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/10.11, allocations: 11.88 kB / 3.62 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/10.11, allocations: 419.5 kB / 3.62 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/10.11, allocations: 175.7 kB / 3.621 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009155/10.12, allocations: 7.884 MB / 3.628 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/10.12, allocations: 143.9 kB / 3.628 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/10.12, allocations: 40.09 kB / 3.629 GB, free: 2.422 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004906/10.12, allocations: 202.3 kB / 3.629 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005614/10.12, allocations: 166 kB / 3.629 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/10.13, allocations: 1.457 MB / 3.63 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/10.13, allocations: 8 kB / 3.63 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/10.13, allocations: 0 / 3.63 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5735/10.7, allocations: 1.314 MB / 3.632 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/10.71, allocations: 3.339 MB / 3.635 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.635e-05/10.71, allocations: 4.125 kB / 3.635 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/10.71, allocations: 193 kB / 3.635 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007468/10.71, allocations: 202.2 kB / 3.635 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/10.71, allocations: 32.3 kB / 3.635 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003746/10.72, allocations: 2.486 MB / 3.638 GB, free: 98.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/10.72, allocations: 5.062 kB / 3.638 GB, free: 98.47 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006307/10.72, allocations: 2.412 MB / 3.64 GB, free: 97.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/10.72, allocations: 369 kB / 3.64 GB, free: 97.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/10.72, allocations: 27.58 kB / 3.64 GB, free: 97.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/10.73, allocations: 145 kB / 3.641 GB, free: 97.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/10.73, allocations: 66.5 kB / 3.641 GB, free: 97.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/10.73, allocations: 42.69 kB / 3.641 GB, free: 97.74 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001722/10.73, allocations: 0.8941 MB / 3.642 GB, free: 97.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.92e-07/10.73, allocations: 0.9062 kB / 3.642 GB, free: 97.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004525/10.73, allocations: 1.016 MB / 3.643 GB, free: 97.62 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.009142/10.74, allocations: 6.227 MB / 3.649 GB, free: 94.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004277/10.75, allocations: 2.702 MB / 3.651 GB, free: 93.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/10.75, allocations: 4.688 kB / 3.651 GB, free: 93.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/10.75, allocations: 0.7044 MB / 3.652 GB, free: 93.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005492/10.75, allocations: 0.8601 MB / 3.653 GB, free: 93.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/10.76, allocations: 3.003 MB / 3.656 GB, free: 92.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002093/10.77, allocations: 1.396 MB / 3.657 GB, free: 92.11 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003371/10.77, allocations: 490.7 kB / 3.658 GB, free: 92.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/10.77, allocations: 0.6158 MB / 3.658 GB, free: 92.08 MB / 0.7136 GB Notification: Performance of SimCode: time 1.342e-06/10.77, allocations: 1.062 kB / 3.658 GB, free: 92.08 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1559/10.93, allocations: 91.8 MB / 3.748 GB, free: 89.28 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/10.93, allocations: 217.2 kB / 3.748 GB, free: 89.06 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.205/16.13, allocations: 0 / 3.748 GB, free: 89.06 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)