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.001607/0.001607, allocations: 107 kB / 16.36 MB, free: 6.336 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.001854/0.001854, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8076/0.8076, allocations: 132.2 MB / 423.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3366, allocations: 80.17 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5299/0.8665, allocations: 193.8 MB / 0.7708 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007689/0.8742, allocations: 5.139 MB / 0.7758 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.8753, allocations: 47 kB / 0.7758 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.8772, allocations: 0.8147 MB / 0.7766 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006073/0.8833, allocations: 2.598 MB / 0.7792 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.8862, allocations: 1.108 MB / 0.7802 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003962/0.8901, allocations: 2.613 MB / 0.7828 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.8917, allocations: 0.8961 MB / 0.7837 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002328/0.8941, allocations: 1.082 MB / 0.7847 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.8957, allocations: 0.9509 MB / 0.7856 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000282/0.896, allocations: 76.75 kB / 0.7857 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003505/0.8995, allocations: 1.79 MB / 0.7875 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005422/0.9001, allocations: 434.2 kB / 0.7879 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.9013, allocations: 0.6506 MB / 0.7885 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.9045, allocations: 2.163 MB / 0.7906 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9045, allocations: 3.094 kB / 0.7906 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9045, allocations: 0 / 0.7906 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.412e-05/0.9045, allocations: 0.9688 kB / 0.7906 GB, free: 0.9297 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.004445/0.909, allocations: 1.93 MB / 0.7925 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.909, allocations: 8.938 kB / 0.7925 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003633/0.9127, allocations: 0.6588 MB / 0.7932 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.9144, allocations: 0.9514 MB / 0.7941 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.524e-05/0.9144, allocations: 70.19 kB / 0.7942 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.9146, allocations: 86.62 kB / 0.7942 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002851/0.9175, allocations: 1.469 MB / 0.7957 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.9175, allocations: 3.094 kB / 0.7957 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.9176, allocations: 38.72 kB / 0.7957 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.809e-05/0.9177, allocations: 44.69 kB / 0.7958 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/0.9213, allocations: 1.523 MB / 0.7973 GB, free: 15.27 MB / 0.5919 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.008434/0.9297, allocations: 5.472 MB / 0.8026 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003418/0.9332, allocations: 1.279 MB / 0.8038 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.9349, allocations: 0.6597 MB / 0.8045 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000957/0.9358, allocations: 0.5792 MB / 0.8051 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001703/0.9375, allocations: 0.71 MB / 0.8057 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.715e-06/0.9376, allocations: 0 / 0.8057 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005198/0.9428, allocations: 1.88 MB / 0.8076 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.9428, allocations: 60.16 kB / 0.8076 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.9444, allocations: 1.243 MB / 0.8089 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.9445, allocations: 47.42 kB / 0.8089 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/0.945, allocations: 0.5724 MB / 0.8095 GB, free: 11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.9453, allocations: 280 kB / 0.8097 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/0.9456, allocations: 187.8 kB / 0.8099 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.9458, allocations: 337.2 kB / 0.8102 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.9473, allocations: 0.5387 MB / 0.8108 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.9491, allocations: 0.8295 MB / 0.8116 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/0.952, allocations: 1.322 MB / 0.8129 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.9521, allocations: 3.031 kB / 0.8129 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003743/0.9558, allocations: 1.491 MB / 0.8143 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.9559, allocations: 14.5 kB / 0.8143 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.9559, allocations: 7.938 kB / 0.8143 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/0.9559, allocations: 15.91 kB / 0.8143 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.9573, allocations: 295.8 kB / 0.8146 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.343e-05/0.9574, allocations: 23.58 kB / 0.8147 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.9589, allocations: 197.1 kB / 0.8148 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.959, allocations: 45.17 kB / 0.8149 GB, free: 9.547 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 ($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.0006262/0.9596, allocations: 346 kB / 0.8152 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/0.96, allocations: 136.6 kB / 0.8153 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/0.9638, allocations: 1.404 MB / 0.8167 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.9639, allocations: 11.94 kB / 0.8167 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.9639, allocations: 0 / 0.8167 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.9639, allocations: 10.89 kB / 0.8167 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006044/0.97, allocations: 2.786 MB / 0.8195 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/0.97, allocations: 4.219 kB / 0.8195 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.9712, allocations: 228.6 kB / 0.8197 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/0.9712, allocations: 12.19 kB / 0.8197 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.943e-05/0.9713, allocations: 29.25 kB / 0.8197 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/0.9713, allocations: 6.875 kB / 0.8197 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.9714, allocations: 7.219 kB / 0.8197 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005194/0.9765, allocations: 2.251 MB / 0.8219 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006943/0.9773, allocations: 294.3 kB / 0.8222 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/0.9776, allocations: 25.72 kB / 0.8222 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.9787, allocations: 114.9 kB / 0.8223 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.9789, allocations: 57.81 kB / 0.8224 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.37e-05/0.9789, allocations: 36.31 kB / 0.8224 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001052/0.98, allocations: 0.855 MB / 0.8233 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.98, allocations: 0 / 0.8233 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001089/0.9811, allocations: 320.4 kB / 0.8236 GB, free: 6.418 MB / 0.5919 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.001287/0.9824, allocations: 0.534 MB / 0.8241 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003462/0.9859, allocations: 1.285 MB / 0.8254 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.9859, allocations: 0 / 0.8254 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.9876, allocations: 0.6452 MB / 0.826 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.9902, allocations: 0.5966 MB / 0.8266 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005133/0.9953, allocations: 2.56 MB / 0.8291 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008273/0.9962, allocations: 1.167 MB / 0.8302 GB, free: 380 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001269/0.9975, allocations: 341.9 kB / 0.8305 GB, free: 36 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/0.9979, allocations: 115.4 kB / 0.8306 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of SimCode: time 7.02e-07/0.9979, allocations: 0 / 0.8306 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of Templates: time 0.0373/1.035, allocations: 22.2 MB / 0.8523 GB, free: 10.08 MB / 0.6231 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)