Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.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: translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 172.5 kB / 7.646 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.7891/0.7891, allocations: 133.6 MB / 141.6 MB, free: 2.977 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.576/1.576, 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.001123/0.001123, allocations: 105.2 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.963e-05, allocations: 7.984 kB / 0.5535 GB, free: 9.039 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.759/0.759, allocations: 82.3 MB / 0.6338 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.903, allocations: 362.8 MB / 0.9882 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/1.903, allocations: 86.58 kB / 0.9882 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248/6.151, allocations: 0.9473 GB / 1.935 GB, free: 88.63 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.083e-06/6.151, allocations: 0 / 1.935 GB, free: 88.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.00017/6.151, allocations: 57 kB / 1.936 GB, free: 88.62 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.004488/6.156, allocations: 1.861 MB / 1.937 GB, free: 87.72 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/6.156, allocations: 10.94 kB / 1.937 GB, free: 87.72 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/6.159, allocations: 0.6073 MB / 1.938 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003852/6.163, allocations: 1.433 MB / 1.939 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/6.163, allocations: 33.06 kB / 1.939 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/6.163, allocations: 64.75 kB / 1.939 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001738/6.165, allocations: 0.8617 MB / 1.94 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/6.167, allocations: 1.047 MB / 1.941 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/6.167, allocations: 3.094 kB / 1.941 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-05/6.167, allocations: 8.812 kB / 1.941 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/6.167, allocations: 22.22 kB / 1.941 GB, free: 87.02 MB / 0.6823 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.007915/6.175, allocations: 6.219 MB / 1.947 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/6.176, allocations: 0.9085 MB / 1.948 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000629/6.177, allocations: 0.4927 MB / 1.949 GB, free: 83.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001482/6.178, allocations: 2.265 MB / 1.951 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008452/6.179, allocations: 0.6533 MB / 1.952 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 3.727e-06/6.179, allocations: 0 / 1.952 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.003612/6.183, allocations: 1.464 MB / 1.953 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/6.183, allocations: 142.4 kB / 1.953 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/6.184, allocations: 0.8801 MB / 1.954 GB, free: 80.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/6.184, allocations: 29.39 kB / 1.954 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005392/6.185, allocations: 0.7002 MB / 1.955 GB, free: 80 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/6.185, allocations: 318 kB / 1.955 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/6.185, allocations: 1.406 kB / 1.955 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/6.185, allocations: 348.5 kB / 1.955 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/6.186, allocations: 405 kB / 1.956 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006981/6.186, allocations: 0.6352 MB / 1.956 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/6.188, allocations: 0.6911 MB / 1.957 GB, free: 79.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/6.189, allocations: 3.375 kB / 1.957 GB, free: 79.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003353/6.192, allocations: 1.57 MB / 1.959 GB, free: 79.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000436/6.192, allocations: 1.707 MB / 1.96 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/6.192, allocations: 7.547 kB / 1.96 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.38e-05/6.192, allocations: 7 kB / 1.96 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/6.194, allocations: 284.1 kB / 1.961 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/6.194, allocations: 16.7 kB / 1.961 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/6.195, allocations: 208.5 kB / 1.961 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/6.195, allocations: 58.69 kB / 1.961 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/6.196, allocations: 3.438 kB / 1.961 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003293/6.199, allocations: 1.441 MB / 1.962 GB, free: 77.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/6.199, allocations: 3.406 kB / 1.962 GB, free: 77.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/6.199, allocations: 13.66 kB / 1.962 GB, free: 77.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/6.2, allocations: 283.8 kB / 1.963 GB, free: 77.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/6.2, allocations: 10.86 kB / 1.963 GB, free: 77.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/6.202, allocations: 200.7 kB / 1.963 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/6.202, allocations: 66.75 kB / 1.963 GB, free: 77.24 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004274/6.202, allocations: 244.9 kB / 1.963 GB, free: 77.03 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/6.203, allocations: 152.7 kB / 1.963 GB, free: 76.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00473/6.207, allocations: 2.043 MB / 1.965 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-05/6.208, allocations: 17.77 kB / 1.965 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/6.208, allocations: 3.375 kB / 1.965 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/6.208, allocations: 6.484 kB / 1.965 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007242/6.215, allocations: 3.283 MB / 1.968 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/6.215, allocations: 3.438 kB / 1.968 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/6.216, allocations: 233.8 kB / 1.969 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/6.216, allocations: 6.281 kB / 1.969 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.471e-05/6.216, allocations: 34.45 kB / 1.969 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/6.216, allocations: 6.219 kB / 1.969 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/6.216, allocations: 4.469 kB / 1.969 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004771/6.221, allocations: 2.746 MB / 1.971 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009204/6.222, allocations: 400.7 kB / 1.972 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004284/6.222, allocations: 13.06 kB / 1.972 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/6.224, allocations: 151.8 kB / 1.972 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/6.224, allocations: 82.38 kB / 1.972 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/6.224, allocations: 55.48 kB / 1.972 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001444/6.226, allocations: 0.6633 MB / 1.973 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.5e-07/6.226, allocations: 2.906 kB / 1.973 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003846/6.229, allocations: 0.8883 MB / 1.974 GB, free: 75.58 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002707/6.232, allocations: 0.9731 MB / 1.975 GB, free: 75.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003553/6.236, allocations: 2.207 MB / 1.977 GB, free: 74.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/6.236, allocations: 0 / 1.977 GB, free: 74.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/6.237, allocations: 0.8857 MB / 1.978 GB, free: 74.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/6.24, allocations: 0.5098 MB / 1.978 GB, free: 74.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005746/6.246, allocations: 2.405 MB / 1.98 GB, free: 74.08 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/6.247, allocations: 1.307 MB / 1.982 GB, free: 73.36 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002385/6.249, allocations: 481.3 kB / 1.982 GB, free: 73.35 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/6.25, allocations: 120.3 kB / 1.982 GB, free: 73.34 MB / 0.6823 GB Notification: Performance of SimCode: time 3.266e-06/6.25, allocations: 0 / 1.982 GB, free: 73.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.05495/6.305, allocations: 31.11 MB / 2.013 GB, free: 71.16 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)