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/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_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.008774/0.008774, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001291/0.001291, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.363/1.363, allocations: 222.9 MB / 240.4 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.8357/0.8357, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.53 kB / 0.5814 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1712, allocations: 80.22 MB / 0.6597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6288/0.8001, allocations: 193.8 MB / 0.849 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009256/0.8094, allocations: 5.132 MB / 0.854 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.8108, allocations: 48.12 kB / 0.854 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.8128, allocations: 0.8236 MB / 0.8549 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006662/0.8196, allocations: 2.687 MB / 0.8575 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.8224, allocations: 1.11 MB / 0.8586 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003424/0.8259, allocations: 2.625 MB / 0.8611 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.8272, allocations: 0.8926 MB / 0.862 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.8293, allocations: 1.125 MB / 0.8631 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.8305, allocations: 0.9456 MB / 0.864 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.8307, allocations: 79.94 kB / 0.8641 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.8341, allocations: 1.793 MB / 0.8658 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004421/0.8346, allocations: 430.7 kB / 0.8663 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007099/0.8353, allocations: 0.6565 MB / 0.8669 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003479/0.8388, allocations: 2.169 MB / 0.869 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.8388, allocations: 4 kB / 0.869 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8388, allocations: 0 / 0.869 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.208e-05/0.8388, allocations: 0 / 0.869 GB, free: 15.57 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.004972/0.8438, allocations: 1.922 MB / 0.8709 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.8439, allocations: 12.03 kB / 0.8709 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/0.8479, allocations: 0.6614 MB / 0.8716 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.8495, allocations: 0.9487 MB / 0.8725 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.8496, allocations: 69.98 kB / 0.8725 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.8497, allocations: 88 kB / 0.8726 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/0.8529, allocations: 1.466 MB / 0.8741 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.853, allocations: 7.938 kB / 0.8741 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.8531, allocations: 39.98 kB / 0.8741 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.645e-05/0.8532, allocations: 45.98 kB / 0.8742 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004096/0.8573, allocations: 1.522 MB / 0.8756 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.007343/0.8646, allocations: 5.475 MB / 0.881 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003775/0.8684, allocations: 1.277 MB / 0.8822 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/0.8702, allocations: 0.6555 MB / 0.8829 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008806/0.8711, allocations: 0.5818 MB / 0.8834 GB, free: 208 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001921/0.873, allocations: 0.7068 MB / 0.8841 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 3.146e-06/0.873, allocations: 0 / 0.8841 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.005787/0.8788, allocations: 1.878 MB / 0.886 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.8789, allocations: 64.06 kB / 0.886 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.8804, allocations: 1.235 MB / 0.8872 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.8805, allocations: 45.7 kB / 0.8873 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.8809, allocations: 0.583 MB / 0.8878 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.8812, allocations: 284.1 kB / 0.8881 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.8815, allocations: 182.5 kB / 0.8883 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8816, allocations: 341.9 kB / 0.8886 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.8833, allocations: 0.5405 MB / 0.8891 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.8852, allocations: 0.825 MB / 0.8899 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/0.8885, allocations: 1.321 MB / 0.8912 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.8885, allocations: 4 kB / 0.8912 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004044/0.8926, allocations: 1.499 MB / 0.8927 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.8926, allocations: 8 kB / 0.8927 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.8927, allocations: 8 kB / 0.8927 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.8927, allocations: 12 kB / 0.8927 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.8942, allocations: 287.8 kB / 0.893 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/0.8942, allocations: 26.19 kB / 0.893 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.8956, allocations: 190.8 kB / 0.8932 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.8957, allocations: 47.98 kB / 0.8933 GB, free: 5.859 MB / 0.6544 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 ($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.0005633/0.8963, allocations: 343.7 kB / 0.8936 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.8965, allocations: 138.2 kB / 0.8937 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003914/0.9005, allocations: 1.412 MB / 0.8951 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.9005, allocations: 8 kB / 0.8951 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.9005, allocations: 0 / 0.8951 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.9005, allocations: 4.078 kB / 0.8951 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005725/0.9062, allocations: 2.803 MB / 0.8978 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.9063, allocations: 5.125 kB / 0.8979 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.9075, allocations: 232.1 kB / 0.8981 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.9076, allocations: 8 kB / 0.8981 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/0.9076, allocations: 27.97 kB / 0.8981 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.9077, allocations: 8 kB / 0.8981 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.9077, allocations: 4 kB / 0.8981 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005433/0.9131, allocations: 2.252 MB / 0.9003 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005443/0.9137, allocations: 295.3 kB / 0.9006 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002505/0.9139, allocations: 20 kB / 0.9006 GB, free: 14.12 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.9152, allocations: 116.7 kB / 0.9007 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.9153, allocations: 60.38 kB / 0.9008 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.133e-05/0.9154, allocations: 39.97 kB / 0.9008 GB, free: 13.91 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00114/0.9165, allocations: 0.8561 MB / 0.9017 GB, free: 13.05 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9166, allocations: 0 / 0.9017 GB, free: 13.05 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001129/0.9177, allocations: 311.6 kB / 0.902 GB, free: 12.74 MB / 0.67 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 (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 (80): * Single equations (assignments): 74 * 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.0014/0.9191, allocations: 0.537 MB / 0.9025 GB, free: 12.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003954/0.9231, allocations: 1.29 MB / 0.9037 GB, free: 11.11 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.9231, allocations: 0 / 0.9037 GB, free: 11.11 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.925, allocations: 0.6404 MB / 0.9044 GB, free: 10.47 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/0.928, allocations: 0.5963 MB / 0.905 GB, free: 9.895 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005374/0.9334, allocations: 2.562 MB / 0.9075 GB, free: 7.25 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008783/0.9343, allocations: 1.177 MB / 0.9086 GB, free: 6.047 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001205/0.9355, allocations: 341.9 kB / 0.9089 GB, free: 5.711 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/0.9359, allocations: 107.4 kB / 0.909 GB, free: 5.605 MB / 0.67 GB Notification: Performance of SimCode: time 8.82e-07/0.9359, allocations: 0 / 0.909 GB, free: 5.605 MB / 0.67 GB Notification: Performance of Templates: time 0.04079/0.9767, allocations: 22.37 MB / 0.9309 GB, free: 15.46 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (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)