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.001177/0.001177, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001186/0.001186, allocations: 187 kB / 17.34 MB, free: 5.719 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7736/0.7736, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 60.28 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1538, allocations: 80.21 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6021/0.7559, allocations: 193.8 MB / 0.8496 GB, free: 264 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009943/0.7659, allocations: 5.138 MB / 0.8547 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.7678, allocations: 47.59 kB / 0.8547 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.7702, allocations: 0.81 MB / 0.8555 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007889/0.7782, allocations: 2.6 MB / 0.858 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.7817, allocations: 1.111 MB / 0.8591 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004439/0.7862, allocations: 2.593 MB / 0.8617 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.7883, allocations: 0.8884 MB / 0.8625 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003066/0.7914, allocations: 1.118 MB / 0.8636 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/0.7937, allocations: 0.9611 MB / 0.8646 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004641/0.7942, allocations: 80 kB / 0.8646 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004298/0.7985, allocations: 1.781 MB / 0.8664 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000764/0.7993, allocations: 438.6 kB / 0.8668 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.8008, allocations: 0.6565 MB / 0.8674 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005015/0.8058, allocations: 2.181 MB / 0.8696 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.8058, allocations: 4 kB / 0.8696 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8058, allocations: 3.938 kB / 0.8696 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.401e-05/0.8059, allocations: 0 / 0.8696 GB, free: 15.63 MB / 0.6387 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.006406/0.8123, allocations: 1.922 MB / 0.8714 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/0.8124, allocations: 8.031 kB / 0.8714 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004688/0.8171, allocations: 0.7083 MB / 0.8721 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.8195, allocations: 0.9643 MB / 0.8731 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-05/0.8196, allocations: 62 kB / 0.8731 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/0.8199, allocations: 95.97 kB / 0.8732 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003937/0.8239, allocations: 1.457 MB / 0.8747 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.8239, allocations: 5.188 kB / 0.8747 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.8241, allocations: 35.98 kB / 0.8747 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.522e-05/0.8242, allocations: 49.98 kB / 0.8747 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004502/0.8287, allocations: 1.557 MB / 0.8763 GB, free: 8.598 MB / 0.6387 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.007919/0.8366, allocations: 5.014 MB / 0.8812 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/0.8401, allocations: 1.188 MB / 0.8823 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001759/0.8419, allocations: 0.6745 MB / 0.883 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/0.8433, allocations: 0.941 MB / 0.8839 GB, free: 328 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002009/0.8453, allocations: 0.7225 MB / 0.8846 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 4.068e-06/0.8453, allocations: 0 / 0.8846 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.006237/0.8516, allocations: 1.956 MB / 0.8865 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.8517, allocations: 60.06 kB / 0.8866 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.8536, allocations: 1.272 MB / 0.8878 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.8537, allocations: 41.7 kB / 0.8879 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005089/0.8542, allocations: 0.5755 MB / 0.8884 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.8545, allocations: 272.1 kB / 0.8887 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/0.8549, allocations: 190.4 kB / 0.8889 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.855, allocations: 334 kB / 0.8892 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.8567, allocations: 0.5562 MB / 0.8897 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/0.8586, allocations: 0.8208 MB / 0.8905 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/0.8621, allocations: 1.348 MB / 0.8918 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.8621, allocations: 0 / 0.8918 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00427/0.8664, allocations: 1.507 MB / 0.8933 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.8664, allocations: 11.98 kB / 0.8933 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.8664, allocations: 8 kB / 0.8933 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/0.8665, allocations: 12 kB / 0.8933 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.868, allocations: 299.4 kB / 0.8936 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.182e-05/0.8681, allocations: 15.94 kB / 0.8936 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.8696, allocations: 202.6 kB / 0.8938 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.8697, allocations: 51.97 kB / 0.8939 GB, free: 5.824 MB / 0.6544 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.0006656/0.8704, allocations: 341.9 kB / 0.8942 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/0.8708, allocations: 138.3 kB / 0.8943 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/0.875, allocations: 1.44 MB / 0.8957 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.875, allocations: 15.92 kB / 0.8958 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.875, allocations: 0 / 0.8958 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.875, allocations: 11.92 kB / 0.8958 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006315/0.8814, allocations: 2.862 MB / 0.8986 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.8814, allocations: 4 kB / 0.8986 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.8827, allocations: 220.2 kB / 0.8988 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/0.8827, allocations: 8 kB / 0.8988 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.486e-05/0.8828, allocations: 31.97 kB / 0.8988 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/0.8829, allocations: 11.98 kB / 0.8988 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.8829, allocations: 7.938 kB / 0.8988 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005921/0.8888, allocations: 2.307 MB / 0.9011 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006775/0.8895, allocations: 303.2 kB / 0.9014 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003181/0.8898, allocations: 23.98 kB / 0.9014 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.8911, allocations: 111.9 kB / 0.9015 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.8913, allocations: 65.23 kB / 0.9016 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-05/0.8914, allocations: 35.97 kB / 0.9016 GB, free: 13.71 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001375/0.8928, allocations: 0.8723 MB / 0.9025 GB, free: 12.83 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8928, allocations: 0 / 0.9025 GB, free: 12.83 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001223/0.894, allocations: 311.7 kB / 0.9028 GB, free: 12.53 MB / 0.67 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.001419/0.8954, allocations: 0.5382 MB / 0.9033 GB, free: 12.18 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003908/0.8994, allocations: 1.319 MB / 0.9046 GB, free: 10.86 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.8994, allocations: 0 / 0.9046 GB, free: 10.86 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.9013, allocations: 0.6599 MB / 0.9052 GB, free: 10.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/0.9046, allocations: 0.6314 MB / 0.9058 GB, free: 9.594 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005664/0.9103, allocations: 2.626 MB / 0.9084 GB, free: 6.883 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009455/0.9112, allocations: 1.167 MB / 0.9095 GB, free: 5.688 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006463/0.9119, allocations: 127.4 kB / 0.9097 GB, free: 5.562 MB / 0.67 GB Notification: Performance of SimCode: time 1.092e-06/0.9119, allocations: 0 / 0.9097 GB, free: 5.562 MB / 0.67 GB Notification: Performance of Templates: time 0.03435/0.9463, allocations: 21.04 MB / 0.9302 GB, free: 0.6641 MB / 0.6856 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)