Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001297/0.001297, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001264/0.001264, 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.367/1.367, 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-master/package.mo): time 0.8209/0.8209, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 76.2 kB / 0.5863 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1677, allocations: 80.92 MB / 0.6653 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6665/0.8342, allocations: 193.8 MB / 0.8546 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009432/0.8437, allocations: 5.123 MB / 0.8596 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.8453, allocations: 50.94 kB / 0.8597 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.8474, allocations: 0.8182 MB / 0.8605 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007145/0.8546, allocations: 2.592 MB / 0.863 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003085/0.8577, allocations: 1.117 MB / 0.8641 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004064/0.8617, allocations: 2.598 MB / 0.8666 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.8632, allocations: 0.8884 MB / 0.8675 GB, free: 96 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.8655, allocations: 1.117 MB / 0.8686 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.8674, allocations: 0.9573 MB / 0.8695 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003404/0.8678, allocations: 80 kB / 0.8696 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004241/0.872, allocations: 1.792 MB / 0.8713 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007323/0.8728, allocations: 438.6 kB / 0.8718 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.8741, allocations: 0.6526 MB / 0.8724 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004959/0.8791, allocations: 2.185 MB / 0.8745 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8791, allocations: 0 / 0.8745 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8791, allocations: 0 / 0.8745 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.039e-05/0.8791, allocations: 4 kB / 0.8745 GB, free: 8.855 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.005/0.8841, allocations: 1.922 MB / 0.8764 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.8842, allocations: 9.109 kB / 0.8764 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/0.8885, allocations: 0.7044 MB / 0.8771 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.8902, allocations: 0.9605 MB / 0.878 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.909e-05/0.8903, allocations: 69.94 kB / 0.8781 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.8905, allocations: 91.97 kB / 0.8782 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/0.8936, allocations: 1.459 MB / 0.8796 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.8936, allocations: 7.938 kB / 0.8796 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.8938, allocations: 35.98 kB / 0.8797 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.615e-05/0.8938, allocations: 49.98 kB / 0.8797 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00397/0.8978, allocations: 1.553 MB / 0.8812 GB, free: 1.824 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.006607/0.9044, allocations: 5.011 MB / 0.8861 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003306/0.9078, allocations: 1.192 MB / 0.8873 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.9094, allocations: 0.6601 MB / 0.8879 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/0.9107, allocations: 0.941 MB / 0.8889 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001838/0.9126, allocations: 0.7264 MB / 0.8896 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.055e-06/0.9126, allocations: 0 / 0.8896 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.005925/0.9185, allocations: 1.952 MB / 0.8915 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.9186, allocations: 67.94 kB / 0.8915 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.9202, allocations: 1.268 MB / 0.8928 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.9203, allocations: 41.7 kB / 0.8928 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004725/0.9208, allocations: 0.5677 MB / 0.8934 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.9211, allocations: 284 kB / 0.8936 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/0.9214, allocations: 186.5 kB / 0.8938 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.9215, allocations: 338 kB / 0.8941 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.9231, allocations: 0.5562 MB / 0.8947 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.925, allocations: 0.8169 MB / 0.8955 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/0.9283, allocations: 1.34 MB / 0.8968 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.9283, allocations: 0 / 0.8968 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004063/0.9324, allocations: 1.518 MB / 0.8983 GB, free: 15.64 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.9325, allocations: 13.86 kB / 0.8983 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.9325, allocations: 8.094 kB / 0.8983 GB, free: 15.62 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.615e-05/0.9325, allocations: 15.94 kB / 0.8983 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.934, allocations: 288.3 kB / 0.8986 GB, free: 15.33 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.552e-05/0.934, allocations: 15.94 kB / 0.8986 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.9355, allocations: 202.7 kB / 0.8988 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.9357, allocations: 51.97 kB / 0.8988 GB, free: 15.06 MB / 0.67 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.0006772/0.9364, allocations: 338 kB / 0.8992 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.9367, allocations: 134.3 kB / 0.8993 GB, free: 14.59 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004137/0.9408, allocations: 1.45 MB / 0.9007 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.9409, allocations: 19.97 kB / 0.9007 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9409, allocations: 0 / 0.9007 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.9409, allocations: 7.922 kB / 0.9007 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00651/0.9474, allocations: 2.862 MB / 0.9035 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.9475, allocations: 8.062 kB / 0.9035 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.9488, allocations: 219.6 kB / 0.9037 GB, free: 9.918 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.6e-05/0.9488, allocations: 8 kB / 0.9038 GB, free: 9.91 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/0.9489, allocations: 31.97 kB / 0.9038 GB, free: 9.879 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.417e-05/0.9489, allocations: 11.98 kB / 0.9038 GB, free: 9.867 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.9489, allocations: 8.812 kB / 0.9038 GB, free: 9.859 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005759/0.9547, allocations: 2.299 MB / 0.906 GB, free: 7.496 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006503/0.9554, allocations: 307.2 kB / 0.9063 GB, free: 7.176 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/0.9557, allocations: 23.98 kB / 0.9064 GB, free: 7.152 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.9569, allocations: 107.9 kB / 0.9065 GB, free: 7.047 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.9571, allocations: 68.36 kB / 0.9065 GB, free: 6.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.684e-05/0.9572, allocations: 35.97 kB / 0.9066 GB, free: 6.945 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001241/0.9585, allocations: 0.8762 MB / 0.9074 GB, free: 6.066 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9585, allocations: 0 / 0.9074 GB, free: 6.066 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001148/0.9596, allocations: 315.7 kB / 0.9077 GB, free: 5.758 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.001352/0.961, allocations: 0.5331 MB / 0.9082 GB, free: 5.391 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003848/0.9648, allocations: 1.319 MB / 0.9095 GB, free: 4.07 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.9649, allocations: 0 / 0.9095 GB, free: 4.07 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.9667, allocations: 0.6638 MB / 0.9102 GB, free: 3.406 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/0.9698, allocations: 0.6195 MB / 0.9108 GB, free: 2.797 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/0.9752, allocations: 2.634 MB / 0.9134 GB, free: 80 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008848/0.9761, allocations: 1.167 MB / 0.9145 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005456/0.9767, allocations: 127.4 kB / 0.9146 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of SimCode: time 1.132e-06/0.9767, allocations: 0 / 0.9146 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of Templates: time 0.03417/1.011, allocations: 21.04 MB / 0.9352 GB, free: 9.848 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)