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.001183/0.001183, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9502/0.9502, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 64.33 kB / 0.5053 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1783, allocations: 80.93 MB / 0.5844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5438/0.7222, allocations: 193.8 MB / 0.7736 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.734, allocations: 5.135 MB / 0.7786 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.7358, allocations: 47.69 kB / 0.7787 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.738, allocations: 0.812 MB / 0.7795 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006917/0.745, allocations: 2.602 MB / 0.782 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.7479, allocations: 1.11 MB / 0.7831 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00377/0.7517, allocations: 2.599 MB / 0.7856 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.7534, allocations: 0.8805 MB / 0.7865 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.7557, allocations: 1.078 MB / 0.7876 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.7575, allocations: 0.9651 MB / 0.7885 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003316/0.7579, allocations: 80 kB / 0.7886 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004394/0.7623, allocations: 1.773 MB / 0.7903 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.7634, allocations: 442.5 kB / 0.7907 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001984/0.7654, allocations: 0.6487 MB / 0.7914 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00585/0.7712, allocations: 2.15 MB / 0.7935 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7713, allocations: 4 kB / 0.7935 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7713, allocations: 0 / 0.7935 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.684e-05/0.7714, allocations: 4 kB / 0.7935 GB, free: 6.75 MB / 0.6075 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.005907/0.7773, allocations: 1.936 MB / 0.7954 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.7773, allocations: 12.03 kB / 0.7954 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004557/0.7819, allocations: 0.6966 MB / 0.7961 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.7839, allocations: 0.8865 MB / 0.7969 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/0.784, allocations: 77.92 kB / 0.797 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.7842, allocations: 91.84 kB / 0.7971 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003783/0.788, allocations: 1.461 MB / 0.7985 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.7881, allocations: 3.938 kB / 0.7985 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.7882, allocations: 36 kB / 0.7985 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.7883, allocations: 49.98 kB / 0.7986 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004782/0.7931, allocations: 1.557 MB / 0.8001 GB, free: 15.77 MB / 0.6231 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.008646/0.8017, allocations: 5.035 MB / 0.805 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00361/0.8054, allocations: 1.196 MB / 0.8062 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001887/0.8073, allocations: 0.6624 MB / 0.8068 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.8087, allocations: 0.941 MB / 0.8078 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001969/0.8107, allocations: 0.7225 MB / 0.8085 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 3.647e-06/0.8107, allocations: 0 / 0.8085 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.006813/0.8175, allocations: 1.956 MB / 0.8104 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.8176, allocations: 64 kB / 0.8104 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.8196, allocations: 1.264 MB / 0.8117 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.8197, allocations: 41.7 kB / 0.8117 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006649/0.8204, allocations: 0.5755 MB / 0.8123 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/0.8207, allocations: 272 kB / 0.8125 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003549/0.8211, allocations: 186.5 kB / 0.8127 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.8213, allocations: 345.9 kB / 0.813 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.8231, allocations: 0.5523 MB / 0.8136 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/0.8252, allocations: 0.8247 MB / 0.8144 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003536/0.8287, allocations: 1.336 MB / 0.8157 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.8287, allocations: 3.312 kB / 0.8157 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004335/0.8331, allocations: 1.518 MB / 0.8172 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.8331, allocations: 10.19 kB / 0.8172 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.8332, allocations: 8 kB / 0.8172 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-05/0.8332, allocations: 12 kB / 0.8172 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.8347, allocations: 295.9 kB / 0.8175 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.121e-05/0.8347, allocations: 19.92 kB / 0.8175 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.8363, allocations: 198.6 kB / 0.8177 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.8364, allocations: 47.98 kB / 0.8177 GB, free: 13.02 MB / 0.6387 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.0006296/0.8371, allocations: 347.7 kB / 0.8181 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.8374, allocations: 134.3 kB / 0.8182 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/0.8416, allocations: 1.439 MB / 0.8196 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.8416, allocations: 8 kB / 0.8196 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.8416, allocations: 0 / 0.8196 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.8416, allocations: 11.92 kB / 0.8196 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006592/0.8482, allocations: 2.864 MB / 0.8224 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/0.8482, allocations: 4 kB / 0.8224 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.8495, allocations: 232.1 kB / 0.8227 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.736e-05/0.8496, allocations: 8.094 kB / 0.8227 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-05/0.8497, allocations: 35.91 kB / 0.8227 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.8497, allocations: 11.12 kB / 0.8227 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.8497, allocations: 7.938 kB / 0.8227 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005853/0.8555, allocations: 2.307 MB / 0.825 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/0.8562, allocations: 303.2 kB / 0.8253 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/0.8565, allocations: 16 kB / 0.8253 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.8577, allocations: 115.9 kB / 0.8254 GB, free: 5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.8579, allocations: 64.36 kB / 0.8254 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-05/0.858, allocations: 39.97 kB / 0.8255 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001333/0.8593, allocations: 0.8684 MB / 0.8263 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8593, allocations: 0 / 0.8263 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00122/0.8605, allocations: 323.7 kB / 0.8266 GB, free: 3.711 MB / 0.6387 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.001335/0.8619, allocations: 0.5279 MB / 0.8272 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004325/0.8662, allocations: 1.425 MB / 0.8285 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8662, allocations: 0 / 0.8285 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/0.8681, allocations: 0.6638 MB / 0.8292 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/0.8713, allocations: 0.6161 MB / 0.8298 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005636/0.8769, allocations: 2.609 MB / 0.8323 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.878, allocations: 1.175 MB / 0.8335 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001642/0.8796, allocations: 342.2 kB / 0.8338 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/0.8801, allocations: 115.4 kB / 0.8339 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of SimCode: time 1.192e-06/0.8801, allocations: 0 / 0.8339 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.04206/0.9221, allocations: 23.15 MB / 0.8565 GB, free: 5.473 MB / 0.67 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)