Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001411/0.001411, 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/package.mo): time 0.8109/0.8109, allocations: 130.5 MB / 143.8 MB, free: 13.6 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.512/1.512, allocations: 221.3 MB / 396.8 MB, free: 9.207 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.001041/0.001041, allocations: 102.9 kB / 479 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.168e-05/4.171e-05, allocations: 4.344 kB / 0.5551 GB, free: 86.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1811, allocations: 81.58 MB / 0.6347 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.36/1.541, allocations: 363.3 MB / 0.9895 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/1.541, allocations: 84.88 kB / 0.9896 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.652/5.193, allocations: 0.9519 GB / 1.941 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.683e-06/5.193, allocations: 1.969 kB / 1.941 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001578/5.193, allocations: 51.39 kB / 1.941 GB, free: 64.19 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.004032/5.197, allocations: 1.86 MB / 1.943 GB, free: 62.79 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/5.197, allocations: 7.781 kB / 1.943 GB, free: 62.79 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/5.201, allocations: 0.6171 MB / 1.944 GB, free: 62.53 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004045/5.205, allocations: 1.426 MB / 1.945 GB, free: 61.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.515e-05/5.205, allocations: 83.5 kB / 1.945 GB, free: 61.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/5.205, allocations: 106 kB / 1.945 GB, free: 61.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/5.207, allocations: 1.187 MB / 1.947 GB, free: 60.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/5.207, allocations: 3.938 kB / 1.947 GB, free: 60.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/5.207, allocations: 43.78 kB / 1.947 GB, free: 60.72 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/5.207, allocations: 29.2 kB / 1.947 GB, free: 60.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/5.209, allocations: 0.9267 MB / 1.948 GB, free: 60.33 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.00838/5.217, allocations: 6.412 MB / 1.954 GB, free: 54.63 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/5.219, allocations: 0.9417 MB / 1.955 GB, free: 53.68 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006869/5.22, allocations: 0.5194 MB / 1.955 GB, free: 53.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00158/5.221, allocations: 2.268 MB / 1.958 GB, free: 50.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008704/5.222, allocations: 0.6792 MB / 1.958 GB, free: 49.69 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 4.138e-06/5.222, allocations: 0 / 1.958 GB, free: 49.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.002319/5.224, allocations: 1.331 MB / 1.959 GB, free: 48.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/5.224, allocations: 149.3 kB / 1.96 GB, free: 48.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/5.226, allocations: 1.017 MB / 1.961 GB, free: 47.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/5.226, allocations: 49.7 kB / 1.961 GB, free: 47.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005565/5.226, allocations: 0.6946 MB / 1.961 GB, free: 46.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/5.227, allocations: 331.5 kB / 1.962 GB, free: 46.06 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/5.227, allocations: 16 kB / 1.962 GB, free: 46.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001084/5.227, allocations: 341.9 kB / 1.962 GB, free: 45.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/5.227, allocations: 425.9 kB / 1.962 GB, free: 45.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007689/5.228, allocations: 0.6613 MB / 1.963 GB, free: 44.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/5.229, allocations: 0.5424 MB / 1.964 GB, free: 43.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/5.229, allocations: 4 kB / 1.964 GB, free: 43.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002336/5.231, allocations: 1.467 MB / 1.965 GB, free: 42.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005106/5.232, allocations: 1.718 MB / 1.967 GB, free: 40.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/5.232, allocations: 7.938 kB / 1.967 GB, free: 40.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/5.232, allocations: 8 kB / 1.967 GB, free: 40.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/5.233, allocations: 284.8 kB / 1.967 GB, free: 40.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/5.233, allocations: 11.94 kB / 1.967 GB, free: 40.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/5.235, allocations: 234.9 kB / 1.967 GB, free: 40.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/5.235, allocations: 59.97 kB / 1.967 GB, free: 40 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/5.235, allocations: 5.25 kB / 1.967 GB, free: 39.99 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001975/5.237, allocations: 1.382 MB / 1.969 GB, free: 38.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/5.237, allocations: 4 kB / 1.969 GB, free: 38.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/5.237, allocations: 8 kB / 1.969 GB, free: 38.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/5.238, allocations: 276.6 kB / 1.969 GB, free: 38.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.514e-05/5.238, allocations: 11.94 kB / 1.969 GB, free: 38.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/5.24, allocations: 240 kB / 1.969 GB, free: 38.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/5.241, allocations: 63.97 kB / 1.969 GB, free: 38.01 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.0005588/5.241, allocations: 268.5 kB / 1.969 GB, free: 37.72 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003965/5.242, allocations: 161.8 kB / 1.97 GB, free: 37.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/5.245, allocations: 2.04 MB / 1.972 GB, free: 35.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-05/5.245, allocations: 19.94 kB / 1.972 GB, free: 35.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/5.246, allocations: 0 / 1.972 GB, free: 35.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/5.246, allocations: 11.92 kB / 1.972 GB, free: 35.47 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005605/5.251, allocations: 3.399 MB / 1.975 GB, free: 32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/5.251, allocations: 0 / 1.975 GB, free: 32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/5.252, allocations: 231.8 kB / 1.975 GB, free: 31.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/5.252, allocations: 4 kB / 1.975 GB, free: 31.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-05/5.252, allocations: 50.12 kB / 1.975 GB, free: 31.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/5.252, allocations: 7.938 kB / 1.975 GB, free: 31.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/5.252, allocations: 4 kB / 1.975 GB, free: 31.72 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003438/5.256, allocations: 2.725 MB / 1.978 GB, free: 28.91 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009188/5.257, allocations: 406.6 kB / 1.978 GB, free: 28.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/5.257, allocations: 27.94 kB / 1.978 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/5.258, allocations: 175.8 kB / 1.979 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/5.258, allocations: 72.89 kB / 1.979 GB, free: 28.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/5.259, allocations: 55.97 kB / 1.979 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001181/5.26, allocations: 0.7896 MB / 1.979 GB, free: 27.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/5.26, allocations: 3.828 kB / 1.979 GB, free: 27.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003187/5.263, allocations: 0.9264 MB / 1.98 GB, free: 26.45 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.002253/5.265, allocations: 0.9744 MB / 1.981 GB, free: 25.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003212/5.268, allocations: 2.297 MB / 1.983 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/5.268, allocations: 0 / 1.983 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/5.269, allocations: 0.918 MB / 1.984 GB, free: 22.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/5.273, allocations: 0.5991 MB / 1.985 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004789/5.278, allocations: 2.463 MB / 1.987 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007021/5.278, allocations: 1.309 MB / 1.989 GB, free: 17.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002326/5.281, allocations: 492.2 kB / 1.989 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/5.281, allocations: 115.4 kB / 1.989 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of SimCode: time 2.044e-06/5.281, allocations: 2.844 kB / 1.989 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.6258/5.907, allocations: 37.67 MB / 2.026 GB, free: 90.2 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)