Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.0008949/0.0008949, allocations: 99.86 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.0009895/0.0009896, allocations: 177.3 kB / 15.94 MB, free: 228 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.203/1.203, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8602/0.8602, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003156, allocations: 12 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1466, allocations: 82.3 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.392/0.5386, allocations: 160.8 MB / 0.7442 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007932/0.5466, allocations: 5.034 MB / 0.7491 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.5478, allocations: 39.69 kB / 0.7491 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.5498, allocations: 0.7823 MB / 0.7499 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004639/0.5545, allocations: 1.777 MB / 0.7516 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003091/0.5576, allocations: 1.18 MB / 0.7528 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003478/0.5611, allocations: 1.634 MB / 0.7544 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.5626, allocations: 0.7704 MB / 0.7551 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.5644, allocations: 0.9579 MB / 0.7561 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008127/0.5652, allocations: 0.681 MB / 0.7567 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.484e-05/0.5654, allocations: 44 kB / 0.7568 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.5671, allocations: 0.7409 MB / 0.7575 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003345/0.5674, allocations: 370.8 kB / 0.7578 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.5677, allocations: 265 kB / 0.7581 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.569, allocations: 1.216 MB / 0.7593 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.569, allocations: 4 kB / 0.7593 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.895e-06/0.569, allocations: 0 / 0.7593 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.569, allocations: 3.938 kB / 0.7593 GB, free: 12.35 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.004255/0.5733, allocations: 1.656 MB / 0.7609 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.5733, allocations: 8.031 kB / 0.7609 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.577, allocations: 0.7044 MB / 0.7616 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.5784, allocations: 0.8328 MB / 0.7624 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/0.5785, allocations: 69.62 kB / 0.7625 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.5786, allocations: 87.98 kB / 0.7626 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/0.5814, allocations: 1.474 MB / 0.764 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.5814, allocations: 4 kB / 0.764 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-05/0.5815, allocations: 36 kB / 0.764 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.822e-05/0.5816, allocations: 45.98 kB / 0.7641 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003707/0.5853, allocations: 1.541 MB / 0.7656 GB, free: 5.707 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.00608/0.5914, allocations: 5.149 MB / 0.7706 GB, free: 288 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/0.5949, allocations: 1.316 MB / 0.7719 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003975/0.5953, allocations: 161.7 kB / 0.7721 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001735/0.597, allocations: 0.7147 MB / 0.7728 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.837e-06/0.597, allocations: 0 / 0.7728 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005249/0.6023, allocations: 1.913 MB / 0.7746 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.6024, allocations: 60.06 kB / 0.7747 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.6036, allocations: 1.231 MB / 0.7759 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-05/0.6037, allocations: 41.7 kB / 0.7759 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000406/0.6041, allocations: 0.5791 MB / 0.7765 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.6044, allocations: 276.1 kB / 0.7768 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.6044, allocations: 24 kB / 0.7768 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6046, allocations: 345.9 kB / 0.7771 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.606, allocations: 0.5406 MB / 0.7776 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.6077, allocations: 0.829 MB / 0.7784 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.6093, allocations: 0.6042 MB / 0.779 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6093, allocations: 0 / 0.779 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003573/0.6129, allocations: 1.503 MB / 0.7805 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.6129, allocations: 10.03 kB / 0.7805 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.6129, allocations: 8 kB / 0.7805 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.613, allocations: 15.95 kB / 0.7805 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.6143, allocations: 299.8 kB / 0.7808 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.6143, allocations: 19.94 kB / 0.7808 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.6157, allocations: 226.7 kB / 0.7811 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.6158, allocations: 55.25 kB / 0.7811 GB, free: 5.352 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.0004827/0.6163, allocations: 331.7 kB / 0.7814 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.6164, allocations: 138.3 kB / 0.7816 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.62, allocations: 1.428 MB / 0.783 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.6201, allocations: 8 kB / 0.783 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6201, allocations: 3.953 kB / 0.783 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.6201, allocations: 3.984 kB / 0.783 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005364/0.6255, allocations: 2.821 MB / 0.7857 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.6255, allocations: 3.938 kB / 0.7857 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.6266, allocations: 236.8 kB / 0.786 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.6267, allocations: 8 kB / 0.786 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/0.6267, allocations: 27.92 kB / 0.786 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.6267, allocations: 12 kB / 0.786 GB, free: 236 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.6268, allocations: 7.938 kB / 0.786 GB, free: 228 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005163/0.6319, allocations: 2.492 MB / 0.7884 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/0.6325, allocations: 311.1 kB / 0.7887 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.6326, allocations: 20.88 kB / 0.7888 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.6337, allocations: 136 kB / 0.7889 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.6338, allocations: 72.36 kB / 0.789 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/0.6339, allocations: 35.97 kB / 0.789 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009213/0.6348, allocations: 0.8405 MB / 0.7898 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6349, allocations: 0 / 0.7898 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009141/0.6358, allocations: 319.6 kB / 0.7901 GB, free: 11.86 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.001043/0.6368, allocations: 0.519 MB / 0.7906 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003342/0.6402, allocations: 1.294 MB / 0.7919 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6402, allocations: 8.25 kB / 0.7919 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.6418, allocations: 0.6519 MB / 0.7925 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.6441, allocations: 0.5613 MB / 0.7931 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/0.6487, allocations: 2.932 MB / 0.7959 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/0.6494, allocations: 1.203 MB / 0.7971 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001228/0.6506, allocations: 330 kB / 0.7974 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.6509, allocations: 111.4 kB / 0.7975 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.651, allocations: 0 / 0.7975 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of Templates: time 0.03061/0.6816, allocations: 20.49 MB / 0.8176 GB, free: 108 kB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) Environment - environmentSimulation: