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.001551/0.001551, allocations: 107.3 kB / 16.41 MB, free: 6.496 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.001432/0.001432, allocations: 187 kB / 17.34 MB, free: 5.762 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.36/1.36, 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.8274/0.8274, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.09 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1653, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6269/0.7922, allocations: 193.8 MB / 0.8496 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009618/0.8019, allocations: 5.136 MB / 0.8547 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.8039, allocations: 46.78 kB / 0.8547 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/0.8063, allocations: 0.8141 MB / 0.8555 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0081/0.8144, allocations: 2.604 MB / 0.858 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003503/0.818, allocations: 1.103 MB / 0.8591 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005043/0.823, allocations: 2.597 MB / 0.8617 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.8247, allocations: 0.8921 MB / 0.8625 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.8275, allocations: 1.115 MB / 0.8636 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.8295, allocations: 0.9611 MB / 0.8646 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.8297, allocations: 80 kB / 0.8646 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004252/0.8339, allocations: 1.777 MB / 0.8664 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005868/0.8345, allocations: 442.6 kB / 0.8668 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009801/0.8355, allocations: 0.6526 MB / 0.8674 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005001/0.8405, allocations: 2.189 MB / 0.8696 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8406, allocations: 4 kB / 0.8696 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8406, allocations: 0 / 0.8696 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.059e-05/0.8406, allocations: 0 / 0.8696 GB, free: 15.62 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.005391/0.846, allocations: 1.922 MB / 0.8714 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8461, allocations: 8.031 kB / 0.8715 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004365/0.8504, allocations: 0.7044 MB / 0.8721 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.8525, allocations: 0.9643 MB / 0.8731 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-05/0.8526, allocations: 66.5 kB / 0.8731 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.8527, allocations: 80 kB / 0.8732 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/0.856, allocations: 1.469 MB / 0.8747 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.856, allocations: 4 kB / 0.8747 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.8561, allocations: 36 kB / 0.8747 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-05/0.8562, allocations: 41.98 kB / 0.8747 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004203/0.8604, allocations: 1.561 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.007173/0.8676, allocations: 5.016 MB / 0.8812 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.8709, allocations: 1.186 MB / 0.8823 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.8726, allocations: 0.6706 MB / 0.883 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001347/0.874, allocations: 0.941 MB / 0.8839 GB, free: 332 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001888/0.8759, allocations: 0.7225 MB / 0.8846 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.828e-06/0.8759, allocations: 0 / 0.8846 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.00599/0.8819, allocations: 1.96 MB / 0.8865 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.882, allocations: 64.06 kB / 0.8866 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.8837, allocations: 1.268 MB / 0.8878 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.8839, allocations: 45.64 kB / 0.8879 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000486/0.8844, allocations: 0.5716 MB / 0.8884 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.8847, allocations: 276.1 kB / 0.8887 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.885, allocations: 186.4 kB / 0.8888 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8851, allocations: 345.9 kB / 0.8892 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.8867, allocations: 0.5484 MB / 0.8897 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.8885, allocations: 0.8208 MB / 0.8905 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.8919, allocations: 1.34 MB / 0.8918 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.8919, allocations: 0 / 0.8918 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004022/0.8959, allocations: 1.522 MB / 0.8933 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.896, allocations: 8 kB / 0.8933 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.896, allocations: 8 kB / 0.8933 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.222e-05/0.896, allocations: 12 kB / 0.8933 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.8975, allocations: 295.9 kB / 0.8936 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/0.8975, allocations: 15.94 kB / 0.8936 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.899, allocations: 202.6 kB / 0.8938 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.8992, allocations: 51.97 kB / 0.8939 GB, free: 5.82 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.0006317/0.8998, allocations: 341.9 kB / 0.8942 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/0.9001, allocations: 134.3 kB / 0.8943 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/0.9041, allocations: 1.45 MB / 0.8957 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.9041, allocations: 8 kB / 0.8958 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.9041, allocations: 0 / 0.8958 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.9041, allocations: 11.92 kB / 0.8958 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006042/0.9102, allocations: 2.866 MB / 0.8986 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.056e-06/0.9102, allocations: 4 kB / 0.8986 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.9115, allocations: 224.2 kB / 0.8988 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.9116, allocations: 8 kB / 0.8988 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.832e-05/0.9116, allocations: 27.97 kB / 0.8988 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.387e-06/0.9117, allocations: 8 kB / 0.8988 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.9117, allocations: 7.938 kB / 0.8988 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005515/0.9172, allocations: 2.31 MB / 0.9011 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007268/0.918, allocations: 303.3 kB / 0.9014 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000332/0.9183, allocations: 16 kB / 0.9014 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.9197, allocations: 119.6 kB / 0.9015 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.9198, allocations: 64.36 kB / 0.9016 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.64e-05/0.9199, allocations: 35.98 kB / 0.9016 GB, free: 13.71 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001366/0.9213, allocations: 0.8723 MB / 0.9025 GB, free: 12.83 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9213, allocations: 0 / 0.9025 GB, free: 12.83 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001357/0.9227, allocations: 323.7 kB / 0.9028 GB, free: 12.52 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.001422/0.9241, allocations: 0.5287 MB / 0.9033 GB, free: 12.18 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003954/0.9281, allocations: 1.312 MB / 0.9046 GB, free: 10.87 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/0.9281, allocations: 4 kB / 0.9046 GB, free: 10.87 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001913/0.93, allocations: 0.6638 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.003384/0.9334, allocations: 0.6334 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.006027/0.9395, 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.001057/0.9406, 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.0006948/0.9413, allocations: 127.4 kB / 0.9097 GB, free: 5.562 MB / 0.67 GB Notification: Performance of SimCode: time 1.202e-06/0.9413, allocations: 0 / 0.9097 GB, free: 5.562 MB / 0.67 GB Notification: Performance of Templates: time 0.03839/0.9797, allocations: 21.21 MB / 0.9304 GB, free: 496 kB / 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)