Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="IDEAS_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.001967/0.001968, allocations: 174.6 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.9182/0.9182, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.676/1.676, allocations: 221.3 MB / 400.4 MB, free: 5.863 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.0009065/0.0009063, allocations: 97.92 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.303e-05/4.305e-05, allocations: 3.562 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1861, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.402/5.589, allocations: 1.894 GB / 2.535 GB, free: 35.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/5.589, allocations: 89.08 kB / 2.535 GB, free: 35.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.388/9.977, allocations: 1.05 GB / 3.584 GB, free: 34.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.182e-06/9.977, allocations: 0 / 3.584 GB, free: 34.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003273/9.978, allocations: 51.92 kB / 3.584 GB, free: 34.15 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.006804/9.984, allocations: 2.057 MB / 3.586 GB, free: 32.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/9.984, allocations: 12.03 kB / 3.586 GB, free: 32.02 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007501/9.985, allocations: 177.3 kB / 3.587 GB, free: 31.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004696/9.99, allocations: 0.6345 MB / 3.587 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004586/9.995, allocations: 1.433 MB / 3.589 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004191/9.995, allocations: 158.2 kB / 3.589 GB, free: 29.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/9.996, allocations: 120 kB / 3.589 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/9.999, allocations: 1.348 MB / 3.59 GB, free: 28.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/9.999, allocations: 0 / 3.59 GB, free: 28.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/9.999, allocations: 48 kB / 3.59 GB, free: 27.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/9.999, allocations: 50.16 kB / 3.59 GB, free: 27.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/10, allocations: 1.044 MB / 3.591 GB, free: 26.87 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.01041/10.01, allocations: 5.88 MB / 3.597 GB, free: 20.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/10.01, allocations: 0.9863 MB / 3.598 GB, free: 19.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006618/10.01, allocations: 479.1 kB / 3.598 GB, free: 19.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005394/10.01, allocations: 316 kB / 3.599 GB, free: 18.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000848/10.02, allocations: 0.5302 MB / 3.599 GB, free: 18.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 4.969e-06/10.02, allocations: 0 / 3.599 GB, free: 18.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.008568/10.02, allocations: 3.066 MB / 3.602 GB, free: 15.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/10.02, allocations: 196.7 kB / 3.602 GB, free: 14.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003418/10.03, allocations: 1.142 MB / 3.604 GB, free: 13.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003011/10.03, allocations: 49.7 kB / 3.604 GB, free: 13.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/10.03, allocations: 0.7254 MB / 3.604 GB, free: 12.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000575/10.03, allocations: 323.3 kB / 3.605 GB, free: 12.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.442e-05/10.03, allocations: 20 kB / 3.605 GB, free: 12.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001681/10.03, allocations: 349.9 kB / 3.605 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007573/10.03, allocations: 381.9 kB / 3.605 GB, free: 11.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009244/10.03, allocations: 0.6118 MB / 3.606 GB, free: 11.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/10.04, allocations: 2.365 MB / 3.608 GB, free: 8.793 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/10.04, allocations: 0 / 3.608 GB, free: 8.793 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004443/10.05, allocations: 1.658 MB / 3.61 GB, free: 7.109 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003448/10.05, allocations: 1.296 MB / 3.611 GB, free: 5.691 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/10.05, allocations: 0 / 3.611 GB, free: 5.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/10.05, allocations: 423 kB / 3.612 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008374/10.05, allocations: 175.7 kB / 3.612 GB, free: 5.098 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007261/10.06, allocations: 6.899 MB / 3.618 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/10.06, allocations: 143.7 kB / 3.619 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002964/10.06, allocations: 39.98 kB / 3.619 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/10.06, allocations: 4 kB / 3.619 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004191/10.06, allocations: 1.502 MB / 3.62 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/10.06, allocations: 4.375 kB / 3.62 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/10.06, allocations: 419.3 kB / 3.62 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009098/10.07, allocations: 171.8 kB / 3.621 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009878/10.08, allocations: 7.894 MB / 3.628 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/10.08, allocations: 139.9 kB / 3.628 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000283/10.08, allocations: 39.98 kB / 3.629 GB, free: 2.852 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.0006133/10.08, allocations: 204.3 kB / 3.629 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006462/10.08, allocations: 166 kB / 3.629 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004227/10.08, allocations: 1.465 MB / 3.63 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/10.08, allocations: 11.98 kB / 3.63 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/10.08, allocations: 0 / 3.63 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5899/10.67, allocations: 1.298 MB / 3.632 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007476/10.68, allocations: 3.344 MB / 3.635 GB, free: 99.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/10.68, allocations: 4.656 kB / 3.635 GB, free: 99.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009252/10.68, allocations: 194 kB / 3.635 GB, free: 99.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/10.68, allocations: 195.3 kB / 3.635 GB, free: 99.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.681e-05/10.68, allocations: 34.67 kB / 3.635 GB, free: 99.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002754/10.69, allocations: 2.491 MB / 3.638 GB, free: 98.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/10.69, allocations: 11.56 kB / 3.638 GB, free: 98.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004586/10.69, allocations: 2.398 MB / 3.64 GB, free: 97.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/10.69, allocations: 367 kB / 3.64 GB, free: 97.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/10.69, allocations: 33.33 kB / 3.64 GB, free: 97.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/10.69, allocations: 139.4 kB / 3.641 GB, free: 97.37 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/10.69, allocations: 71.94 kB / 3.641 GB, free: 97.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-05/10.69, allocations: 40.28 kB / 3.641 GB, free: 97.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001647/10.7, allocations: 0.8936 MB / 3.642 GB, free: 97.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/10.7, allocations: 0 / 3.642 GB, free: 97.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003918/10.7, allocations: 1.017 MB / 3.643 GB, free: 97.25 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.009271/10.71, allocations: 6.229 MB / 3.649 GB, free: 94.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004297/10.71, allocations: 2.703 MB / 3.651 GB, free: 93.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/10.71, allocations: 1.844 kB / 3.651 GB, free: 93.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/10.71, allocations: 0.7081 MB / 3.652 GB, free: 93.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00475/10.72, allocations: 0.8563 MB / 3.653 GB, free: 93.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00922/10.73, allocations: 2.997 MB / 3.656 GB, free: 92.45 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/10.73, allocations: 1.389 MB / 3.657 GB, free: 91.74 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003173/10.73, allocations: 498.5 kB / 3.658 GB, free: 91.72 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000945/10.73, allocations: 0.614 MB / 3.658 GB, free: 91.71 MB / 0.7136 GB Notification: Performance of SimCode: time 1.122e-06/10.73, allocations: 0 / 3.658 GB, free: 91.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.161/10.89, allocations: 91.8 MB / 3.748 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/10.89, allocations: 213.5 kB / 3.748 GB, free: 88.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.032/15.93, allocations: 0 / 3.748 GB, free: 88.66 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)