Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 103 kB / 16.35 MB, free: 5.824 MB / 14.72 MB 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: 193.9 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8183/0.8183, allocations: 132.2 MB / 423.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 63.89 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3907, allocations: 80.18 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5665/0.9573, allocations: 193.8 MB / 0.7708 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008125/0.9655, allocations: 5.143 MB / 0.7758 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.9669, allocations: 46.19 kB / 0.7758 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.9687, allocations: 0.815 MB / 0.7766 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006199/0.975, allocations: 2.595 MB / 0.7792 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.9777, allocations: 1.115 MB / 0.7802 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003873/0.9816, allocations: 2.601 MB / 0.7828 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.983, allocations: 0.894 MB / 0.7837 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.9852, allocations: 1.082 MB / 0.7847 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.9866, allocations: 0.9537 MB / 0.7856 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.9867, allocations: 79.97 kB / 0.7857 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003285/0.99, allocations: 1.784 MB / 0.7875 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004617/0.9905, allocations: 441.1 kB / 0.7879 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000808/0.9913, allocations: 0.6575 MB / 0.7885 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.9948, allocations: 2.18 MB / 0.7907 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9949, allocations: 0 / 0.7907 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9949, allocations: 3.219 kB / 0.7907 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.185e-05/0.9949, allocations: 0 / 0.7907 GB, free: 0.9258 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004917/0.9998, allocations: 1.929 MB / 0.7925 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.9999, allocations: 11 kB / 0.7926 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004335/1.004, allocations: 0.707 MB / 0.7932 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/1.006, allocations: 0.9513 MB / 0.7942 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.384e-05/1.006, allocations: 67.28 kB / 0.7942 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/1.006, allocations: 90.72 kB / 0.7943 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/1.009, allocations: 1.46 MB / 0.7957 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/1.009, allocations: 2.25 kB / 0.7958 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/1.009, allocations: 42.88 kB / 0.7958 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.084e-05/1.01, allocations: 51.84 kB / 0.7958 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003737/1.013, allocations: 1.559 MB / 0.7974 GB, free: 15.31 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006967/1.02, allocations: 5.016 MB / 0.8023 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/1.024, allocations: 1.182 MB / 0.8034 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/1.025, allocations: 0.6686 MB / 0.8041 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/1.026, allocations: 0.9427 MB / 0.805 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001825/1.028, allocations: 0.7253 MB / 0.8057 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.096e-06/1.028, allocations: 0 / 0.8057 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.00575/1.034, allocations: 1.959 MB / 0.8076 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/1.034, allocations: 60.25 kB / 0.8077 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/1.036, allocations: 1.266 MB / 0.8089 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/1.036, allocations: 43.83 kB / 0.8089 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/1.036, allocations: 0.5648 MB / 0.8095 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/1.036, allocations: 288.2 kB / 0.8098 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/1.037, allocations: 181.7 kB / 0.8099 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.037, allocations: 348.7 kB / 0.8103 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/1.039, allocations: 0.5469 MB / 0.8108 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/1.04, allocations: 0.8172 MB / 0.8116 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003099/1.044, allocations: 1.344 MB / 0.8129 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/1.044, allocations: 2.812 kB / 0.8129 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003828/1.047, allocations: 1.516 MB / 0.8144 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.047, allocations: 7.531 kB / 0.8144 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/1.047, allocations: 8.906 kB / 0.8144 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/1.047, allocations: 10.44 kB / 0.8144 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/1.049, allocations: 292.6 kB / 0.8147 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.509e-05/1.049, allocations: 18.55 kB / 0.8147 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/1.05, allocations: 203.2 kB / 0.8149 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/1.051, allocations: 49.11 kB / 0.815 GB, free: 9.699 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006284/1.051, allocations: 344.9 kB / 0.8153 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/1.052, allocations: 134.6 kB / 0.8154 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/1.055, allocations: 1.455 MB / 0.8168 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/1.055, allocations: 8.094 kB / 0.8169 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.055, allocations: 2.5 kB / 0.8169 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/1.055, allocations: 3.984 kB / 0.8169 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005912/1.061, allocations: 2.86 MB / 0.8197 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.061, allocations: 4.062 kB / 0.8197 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/1.063, allocations: 222.6 kB / 0.8199 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/1.063, allocations: 6.469 kB / 0.8199 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.578e-05/1.063, allocations: 29.91 kB / 0.8199 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/1.063, allocations: 9.688 kB / 0.8199 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/1.063, allocations: 9.219 kB / 0.8199 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005547/1.068, allocations: 2.312 MB / 0.8222 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007416/1.069, allocations: 308.6 kB / 0.8225 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/1.069, allocations: 21.56 kB / 0.8225 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.071, allocations: 112.1 kB / 0.8226 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/1.071, allocations: 63.62 kB / 0.8227 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-05/1.071, allocations: 36.72 kB / 0.8227 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001043/1.072, allocations: 0.8776 MB / 0.8236 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.072, allocations: 3.938 kB / 0.8236 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001056/1.073, allocations: 313.2 kB / 0.8239 GB, free: 6.527 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001274/1.074, allocations: 0.534 MB / 0.8244 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003755/1.078, allocations: 1.319 MB / 0.8257 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.078, allocations: 7.25 kB / 0.8257 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00178/1.08, allocations: 0.6573 MB / 0.8263 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/1.083, allocations: 0.6327 MB / 0.8269 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/1.087, allocations: 2.549 MB / 0.8294 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007435/1.088, allocations: 1.171 MB / 0.8306 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00126/1.089, allocations: 354.2 kB / 0.8309 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003875/1.09, allocations: 111.4 kB / 0.831 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of SimCode: time 7.72e-07/1.09, allocations: 0 / 0.831 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of Templates: time 0.03778/1.127, allocations: 23.12 MB / 0.8536 GB, free: 8.734 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)