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.001183/0.001183, allocations: 173.2 kB / 7.647 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.8398/0.8398, 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.52/1.52, allocations: 221.5 MB / 395.4 MB, free: 10.86 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.0008717/0.0008717, allocations: 101.8 kB / 478.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.262e-05, allocations: 4 kB / 0.5535 GB, free: 8.992 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5551/0.5551, allocations: 82.3 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.41/5.965, allocations: 1.894 GB / 2.527 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/5.965, allocations: 87.95 kB / 2.528 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.634/10.6, allocations: 1.039 GB / 3.566 GB, free: 97.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/10.6, allocations: 0 / 3.566 GB, free: 97.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004507/10.6, allocations: 51.12 kB / 3.566 GB, free: 97.57 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.00685/10.61, allocations: 2.075 MB / 3.568 GB, free: 96.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/10.61, allocations: 6.688 kB / 3.568 GB, free: 96.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004572/10.61, allocations: 0.6232 MB / 3.569 GB, free: 96.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/10.62, allocations: 1.438 MB / 3.57 GB, free: 96.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003997/10.62, allocations: 118.9 kB / 3.57 GB, free: 96.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005284/10.62, allocations: 73.98 kB / 3.57 GB, free: 96.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002886/10.62, allocations: 0.9784 MB / 3.571 GB, free: 96.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/10.62, allocations: 1.186 MB / 3.573 GB, free: 95.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/10.62, allocations: 3.062 kB / 3.573 GB, free: 95.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/10.62, allocations: 3.375 kB / 3.573 GB, free: 95.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.951e-05/10.62, allocations: 38.5 kB / 3.573 GB, free: 95.86 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.008445/10.63, allocations: 5.617 MB / 3.578 GB, free: 93.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/10.63, allocations: 0.9488 MB / 3.579 GB, free: 93.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006033/10.63, allocations: 463.3 kB / 3.579 GB, free: 93.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005115/10.63, allocations: 310.7 kB / 3.58 GB, free: 93.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006946/10.63, allocations: 0.5053 MB / 3.58 GB, free: 92.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 2.465e-06/10.63, allocations: 1.531 kB / 3.58 GB, free: 92.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.007728/10.64, allocations: 2.998 MB / 3.583 GB, free: 92.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/10.64, allocations: 199.3 kB / 3.583 GB, free: 92.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/10.64, allocations: 0.9206 MB / 3.584 GB, free: 91.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/10.64, allocations: 28.7 kB / 3.584 GB, free: 91.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006784/10.64, allocations: 0.7308 MB / 3.585 GB, free: 91.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/10.64, allocations: 319.3 kB / 3.585 GB, free: 91.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/10.64, allocations: 0 / 3.585 GB, free: 91.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/10.64, allocations: 338.5 kB / 3.586 GB, free: 91.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/10.65, allocations: 365.5 kB / 3.586 GB, free: 91.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/10.65, allocations: 0.5937 MB / 3.587 GB, free: 90.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/10.65, allocations: 1.335 MB / 3.588 GB, free: 90.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/10.65, allocations: 6.281 kB / 3.588 GB, free: 90.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004176/10.65, allocations: 1.607 MB / 3.589 GB, free: 90.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004302/10.65, allocations: 1.289 MB / 3.591 GB, free: 89.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/10.65, allocations: 3.25 kB / 3.591 GB, free: 89.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009609/10.66, allocations: 416.5 kB / 3.591 GB, free: 89.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006871/10.66, allocations: 169.2 kB / 3.591 GB, free: 89.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006008/10.66, allocations: 6.533 MB / 3.598 GB, free: 84.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/10.66, allocations: 122 kB / 3.598 GB, free: 84.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/10.66, allocations: 41.11 kB / 3.598 GB, free: 84.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/10.66, allocations: 5.344 kB / 3.598 GB, free: 84.95 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003311/10.67, allocations: 1.43 MB / 3.599 GB, free: 84.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/10.67, allocations: 5.812 kB / 3.599 GB, free: 84.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/10.67, allocations: 403.5 kB / 3.6 GB, free: 84.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009084/10.67, allocations: 172 kB / 3.6 GB, free: 84.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006912/10.68, allocations: 7.473 MB / 3.607 GB, free: 79.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/10.68, allocations: 125.3 kB / 3.607 GB, free: 79.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/10.68, allocations: 33.81 kB / 3.607 GB, free: 79.74 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.0003797/10.68, allocations: 167.7 kB / 3.607 GB, free: 79.6 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003028/10.68, allocations: 1.326 MB / 3.609 GB, free: 79.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/10.68, allocations: 152.4 kB / 3.609 GB, free: 79.37 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003129/10.68, allocations: 1.392 MB / 3.61 GB, free: 79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/10.68, allocations: 11.12 kB / 3.61 GB, free: 79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/10.69, allocations: 0 / 3.61 GB, free: 79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002611/10.69, allocations: 1.279 MB / 3.611 GB, free: 78.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006867/10.69, allocations: 3.146 MB / 3.615 GB, free: 77.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/10.69, allocations: 3.812 kB / 3.615 GB, free: 77.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008671/10.7, allocations: 197 kB / 3.615 GB, free: 77.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000391/10.7, allocations: 193.3 kB / 3.615 GB, free: 77.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/10.7, allocations: 18.39 kB / 3.615 GB, free: 77.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/10.7, allocations: 2.432 MB / 3.617 GB, free: 74.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/10.7, allocations: 7.766 kB / 3.617 GB, free: 74.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003812/10.7, allocations: 2.327 MB / 3.62 GB, free: 73.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007791/10.7, allocations: 348.8 kB / 3.62 GB, free: 73.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/10.7, allocations: 14.94 kB / 3.62 GB, free: 73.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/10.7, allocations: 125.9 kB / 3.62 GB, free: 73.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/10.7, allocations: 71.69 kB / 3.62 GB, free: 73.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/10.7, allocations: 42.53 kB / 3.62 GB, free: 73.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009629/10.71, allocations: 0.6983 MB / 3.621 GB, free: 73.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/10.71, allocations: 0 / 3.621 GB, free: 73.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004035/10.71, allocations: 0.9655 MB / 3.622 GB, free: 72.91 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.009162/10.72, allocations: 6.418 MB / 3.628 GB, free: 69.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003652/10.72, allocations: 2.553 MB / 3.631 GB, free: 67.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/10.72, allocations: 0 / 3.631 GB, free: 67.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009092/10.72, allocations: 0.6835 MB / 3.631 GB, free: 67.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003868/10.73, allocations: 0.7097 MB / 3.632 GB, free: 67.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006395/10.73, allocations: 2.876 MB / 3.635 GB, free: 66.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008357/10.73, allocations: 1.397 MB / 3.636 GB, free: 65.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002014/10.74, allocations: 424.4 kB / 3.636 GB, free: 65.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007471/10.74, allocations: 0.6019 MB / 3.637 GB, free: 64.68 MB / 0.698 GB Notification: Performance of SimCode: time 1.613e-06/10.74, allocations: 4 kB / 3.637 GB, free: 64.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1147/10.85, allocations: 63.4 MB / 3.699 GB, free: 7.684 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/10.85, allocations: 173.4 kB / 3.699 GB, free: 7.484 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.518/15.37, allocations: 0 / 3.699 GB, free: 7.484 MB / 0.698 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)