Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008265/0.0008265, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001131/0.001131, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8762/0.8762, allocations: 135.2 MB / 426.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002823, allocations: 8 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 82.32 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.403/0.5415, allocations: 160.8 MB / 0.7442 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008252/0.5498, allocations: 5.025 MB / 0.7491 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.5509, allocations: 39.69 kB / 0.7491 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.5528, allocations: 0.776 MB / 0.7499 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.5575, allocations: 1.787 MB / 0.7516 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.5605, allocations: 1.165 MB / 0.7528 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002149/0.5627, allocations: 1.638 MB / 0.7544 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009319/0.5636, allocations: 0.782 MB / 0.7551 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.565, allocations: 0.9541 MB / 0.7561 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000737/0.5658, allocations: 0.6772 MB / 0.7567 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.5659, allocations: 44 kB / 0.7568 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.5675, allocations: 0.7409 MB / 0.7575 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003108/0.5678, allocations: 370.8 kB / 0.7578 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.568, allocations: 261 kB / 0.7581 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.5692, allocations: 1.224 MB / 0.7593 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.5692, allocations: 0 / 0.7593 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.647e-06/0.5692, allocations: 0 / 0.7593 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.5692, allocations: 7.938 kB / 0.7593 GB, free: 12.28 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.003987/0.5732, allocations: 1.652 MB / 0.7609 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.5733, allocations: 8.562 kB / 0.7609 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/0.5767, allocations: 0.7122 MB / 0.7616 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.578, allocations: 0.8289 MB / 0.7624 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-05/0.5781, allocations: 67.44 kB / 0.7625 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.5782, allocations: 91.98 kB / 0.7626 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.5809, allocations: 1.47 MB / 0.764 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.5809, allocations: 3.938 kB / 0.764 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.993e-05/0.581, allocations: 32 kB / 0.764 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.5811, allocations: 49.98 kB / 0.7641 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/0.5847, allocations: 1.534 MB / 0.7656 GB, free: 5.641 MB / 0.5762 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.005754/0.5904, allocations: 5.145 MB / 0.7706 GB, free: 224 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003326/0.5938, allocations: 1.327 MB / 0.7719 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000372/0.5942, allocations: 153.7 kB / 0.7721 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.5958, allocations: 0.7267 MB / 0.7728 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.615e-06/0.5958, allocations: 0 / 0.7728 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.004999/0.6008, allocations: 1.909 MB / 0.7746 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.6009, allocations: 60.06 kB / 0.7747 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.6022, allocations: 1.235 MB / 0.7759 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.881e-05/0.6023, allocations: 41.7 kB / 0.7759 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000469/0.6028, allocations: 0.5791 MB / 0.7765 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.6031, allocations: 276.1 kB / 0.7768 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.6031, allocations: 20 kB / 0.7768 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6033, allocations: 345.9 kB / 0.7771 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.6048, allocations: 0.5406 MB / 0.7776 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.6064, allocations: 0.8291 MB / 0.7785 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.6079, allocations: 0.5886 MB / 0.779 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.608, allocations: 4 kB / 0.779 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0034/0.6114, allocations: 1.511 MB / 0.7805 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.6114, allocations: 8 kB / 0.7805 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.6114, allocations: 8 kB / 0.7805 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.6114, allocations: 15.95 kB / 0.7805 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.6128, allocations: 302.7 kB / 0.7808 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.6128, allocations: 19.92 kB / 0.7808 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.6141, allocations: 230.7 kB / 0.7811 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.092e-05/0.6142, allocations: 47.97 kB / 0.7811 GB, free: 5.281 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005269/0.6147, allocations: 335.7 kB / 0.7814 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.6149, allocations: 134.3 kB / 0.7816 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003616/0.6185, allocations: 1.432 MB / 0.783 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.6185, allocations: 8 kB / 0.783 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.6185, allocations: 3.953 kB / 0.783 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.6185, allocations: 4.078 kB / 0.783 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005725/0.6243, allocations: 2.825 MB / 0.7857 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.6243, allocations: 4 kB / 0.7857 GB, free: 440 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.6255, allocations: 231.7 kB / 0.786 GB, free: 208 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.667e-05/0.6255, allocations: 8 kB / 0.786 GB, free: 200 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.113e-05/0.6256, allocations: 27.94 kB / 0.786 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.29e-05/0.6256, allocations: 11.98 kB / 0.786 GB, free: 160 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6256, allocations: 7.938 kB / 0.786 GB, free: 152 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005193/0.6308, allocations: 2.492 MB / 0.7884 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005867/0.6314, allocations: 303.1 kB / 0.7887 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.6316, allocations: 25.23 kB / 0.7888 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.6327, allocations: 135.8 kB / 0.7889 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.6328, allocations: 60.39 kB / 0.7889 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/0.6329, allocations: 39.97 kB / 0.789 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009685/0.6339, allocations: 0.8483 MB / 0.7898 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6339, allocations: 0 / 0.7898 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009379/0.6348, allocations: 315.6 kB / 0.7901 GB, free: 11.79 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/0.6359, allocations: 0.535 MB / 0.7906 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003295/0.6392, allocations: 1.29 MB / 0.7919 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6393, allocations: 3.938 kB / 0.7919 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.6408, allocations: 0.6522 MB / 0.7925 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.6431, allocations: 0.5528 MB / 0.7931 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004954/0.6481, allocations: 2.95 MB / 0.796 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.6487, allocations: 1.192 MB / 0.7971 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001256/0.65, allocations: 341.9 kB / 0.7974 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.6504, allocations: 111.4 kB / 0.7976 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of SimCode: time 7.92e-07/0.6504, allocations: 4 kB / 0.7976 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of Templates: time 0.0305/0.6809, allocations: 20.48 MB / 0.8176 GB, free: 36 kB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) Environment - environmentSimulation: