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.001355/0.001355, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7975/0.7975, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 221.5 MB / 395.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008787/0.0008782, allocations: 99.95 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.381e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5208/0.5209, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.612/6.133, allocations: 1.894 GB / 2.527 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/6.133, allocations: 91.19 kB / 2.528 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.324/10.46, allocations: 1.039 GB / 3.566 GB, free: 94.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.356e-06/10.46, allocations: 0 / 3.566 GB, free: 94.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004592/10.46, allocations: 49.72 kB / 3.566 GB, free: 94.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.007447/10.47, allocations: 2.074 MB / 3.568 GB, free: 93.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/10.47, allocations: 9.75 kB / 3.568 GB, free: 93.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004478/10.47, allocations: 0.6237 MB / 3.569 GB, free: 93.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004194/10.47, allocations: 1.43 MB / 3.57 GB, free: 93.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/10.47, allocations: 123 kB / 3.57 GB, free: 93.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/10.47, allocations: 73.69 kB / 3.57 GB, free: 93.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00183/10.48, allocations: 0.9806 MB / 3.571 GB, free: 93.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/10.48, allocations: 1.183 MB / 3.573 GB, free: 92.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/10.48, allocations: 0 / 3.573 GB, free: 92.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/10.48, allocations: 3.281 kB / 3.573 GB, free: 92.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/10.48, allocations: 50.5 kB / 3.573 GB, free: 92.92 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.00817/10.49, allocations: 5.621 MB / 3.578 GB, free: 90.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/10.49, allocations: 0.945 MB / 3.579 GB, free: 90.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/10.49, allocations: 460.7 kB / 3.579 GB, free: 90.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005165/10.49, allocations: 314.5 kB / 3.58 GB, free: 90.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006989/10.49, allocations: 0.5052 MB / 3.58 GB, free: 89.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 3.467e-06/10.49, allocations: 0 / 3.58 GB, free: 89.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.00734/10.5, allocations: 3.003 MB / 3.583 GB, free: 89.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/10.5, allocations: 197.5 kB / 3.583 GB, free: 89.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/10.5, allocations: 0.9198 MB / 3.584 GB, free: 88.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/10.5, allocations: 25.7 kB / 3.584 GB, free: 88.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006154/10.5, allocations: 0.7312 MB / 3.585 GB, free: 88.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/10.5, allocations: 311.5 kB / 3.585 GB, free: 87.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/10.5, allocations: 6.625 kB / 3.585 GB, free: 87.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.852e-05/10.5, allocations: 335.3 kB / 3.586 GB, free: 87.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004901/10.5, allocations: 372 kB / 3.586 GB, free: 87.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/10.5, allocations: 0.5834 MB / 3.587 GB, free: 87.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/10.5, allocations: 1.349 MB / 3.588 GB, free: 86.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/10.5, allocations: 0 / 3.588 GB, free: 86.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003682/10.51, allocations: 1.605 MB / 3.589 GB, free: 86.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003/10.51, allocations: 1.289 MB / 3.591 GB, free: 84.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/10.51, allocations: 3.906 kB / 3.591 GB, free: 84.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009563/10.51, allocations: 416.2 kB / 3.591 GB, free: 84.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/10.51, allocations: 167.5 kB / 3.591 GB, free: 84.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006092/10.52, allocations: 6.53 MB / 3.598 GB, free: 79.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/10.52, allocations: 119.4 kB / 3.598 GB, free: 79.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/10.52, allocations: 45.56 kB / 3.598 GB, free: 79.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/10.52, allocations: 5.406 kB / 3.598 GB, free: 79.17 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003593/10.52, allocations: 1.431 MB / 3.599 GB, free: 78.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/10.52, allocations: 3.938 kB / 3.599 GB, free: 78.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009253/10.52, allocations: 409.3 kB / 3.6 GB, free: 78.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/10.52, allocations: 176.9 kB / 3.6 GB, free: 78.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006813/10.53, allocations: 7.455 MB / 3.607 GB, free: 72.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/10.53, allocations: 118.9 kB / 3.607 GB, free: 72.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/10.53, allocations: 42.06 kB / 3.607 GB, free: 72 MB / 0.698 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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.0004363/10.53, allocations: 183.6 kB / 3.607 GB, free: 71.83 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003224/10.54, allocations: 1.321 MB / 3.609 GB, free: 70.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/10.54, allocations: 150.2 kB / 3.609 GB, free: 70.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/10.54, allocations: 1.384 MB / 3.61 GB, free: 69.37 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/10.54, allocations: 12 kB / 3.61 GB, free: 69.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/10.54, allocations: 2.562 kB / 3.61 GB, free: 69.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00254/10.54, allocations: 1.276 MB / 3.611 GB, free: 68.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005904/10.55, allocations: 3.15 MB / 3.615 GB, free: 65.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/10.55, allocations: 4 kB / 3.615 GB, free: 65.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008698/10.55, allocations: 192.2 kB / 3.615 GB, free: 65.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004044/10.55, allocations: 197.7 kB / 3.615 GB, free: 65.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/10.55, allocations: 18.86 kB / 3.615 GB, free: 65.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/10.55, allocations: 2.432 MB / 3.617 GB, free: 62.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/10.55, allocations: 8 kB / 3.617 GB, free: 62.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003913/10.56, allocations: 2.324 MB / 3.62 GB, free: 60.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008206/10.56, allocations: 346.6 kB / 3.62 GB, free: 60.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/10.56, allocations: 16 kB / 3.62 GB, free: 60.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/10.56, allocations: 119.7 kB / 3.62 GB, free: 60.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/10.56, allocations: 71.47 kB / 3.62 GB, free: 59.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.233e-05/10.56, allocations: 39.97 kB / 3.62 GB, free: 59.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001038/10.56, allocations: 0.6953 MB / 3.621 GB, free: 59.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.01e-07/10.56, allocations: 7.469 kB / 3.621 GB, free: 59.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003971/10.56, allocations: 0.9714 MB / 3.622 GB, free: 58.28 MB / 0.698 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.007659/10.57, allocations: 6.413 MB / 3.628 GB, free: 52.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003358/10.57, allocations: 2.561 MB / 3.631 GB, free: 49.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/10.57, allocations: 4 kB / 3.631 GB, free: 49.35 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008311/10.58, allocations: 0.6745 MB / 3.631 GB, free: 48.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/10.58, allocations: 0.715 MB / 3.632 GB, free: 47.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006565/10.59, allocations: 2.886 MB / 3.635 GB, free: 45.01 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008786/10.59, allocations: 1.393 MB / 3.636 GB, free: 43.58 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002013/10.59, allocations: 421.5 kB / 3.636 GB, free: 43.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006966/10.59, allocations: 0.6047 MB / 3.637 GB, free: 42.58 MB / 0.698 GB Notification: Performance of SimCode: time 8.11e-07/10.59, allocations: 0 / 3.637 GB, free: 42.58 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6355/11.22, allocations: 63.4 MB / 3.699 GB, free: 108.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/11.22, allocations: 168.7 kB / 3.699 GB, free: 107.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.426/15.65, allocations: 0 / 3.699 GB, free: 107.9 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)