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.001527/0.001527, allocations: 104.7 kB / 15.98 MB, free: 6.348 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.001537/0.001537, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.379/1.379, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8433/0.8433, allocations: 135.2 MB / 425.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.89 kB / 0.5055 GB, free: 8.723 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3659, allocations: 80.92 MB / 0.5846 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.558/0.9239, allocations: 191.3 MB / 0.7714 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008404/0.9323, allocations: 5.12 MB / 0.7764 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.9338, allocations: 44.88 kB / 0.7764 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.9359, allocations: 0.7323 MB / 0.7771 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006248/0.9422, allocations: 2.445 MB / 0.7795 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.945, allocations: 1.008 MB / 0.7805 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003445/0.9484, allocations: 2.628 MB / 0.7831 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.9497, allocations: 0.9071 MB / 0.784 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.9516, allocations: 1.106 MB / 0.785 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.9528, allocations: 1.006 MB / 0.786 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.9529, allocations: 79.88 kB / 0.7861 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.9559, allocations: 1.856 MB / 0.7879 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004592/0.9564, allocations: 435.2 kB / 0.7883 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00074/0.9572, allocations: 0.6528 MB / 0.789 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.9592, allocations: 1.536 MB / 0.7905 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.9592, allocations: 3.625 kB / 0.7905 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9592, allocations: 1.031 kB / 0.7905 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.9593, allocations: 3.594 kB / 0.7905 GB, free: 1.148 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.004757/0.964, allocations: 1.931 MB / 0.7924 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.9641, allocations: 11.27 kB / 0.7924 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/0.9679, allocations: 0.6576 MB / 0.793 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.9693, allocations: 0.8793 MB / 0.7939 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/0.9693, allocations: 65.12 kB / 0.7939 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.9695, allocations: 90.53 kB / 0.794 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.9724, allocations: 1.474 MB / 0.7955 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.9724, allocations: 8.75 kB / 0.7955 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.9725, allocations: 39.17 kB / 0.7955 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.444e-05/0.9726, allocations: 48.86 kB / 0.7955 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0037/0.9763, allocations: 1.515 MB / 0.797 GB, free: 15.48 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.007176/0.9835, allocations: 5.49 MB / 0.8024 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.9868, allocations: 1.281 MB / 0.8036 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.9884, allocations: 0.6536 MB / 0.8043 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009074/0.9893, allocations: 0.5789 MB / 0.8048 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001701/0.991, allocations: 0.7113 MB / 0.8055 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.296e-06/0.991, allocations: 0 / 0.8055 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005353/0.9964, allocations: 1.883 MB / 0.8074 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.515e-05/0.9965, allocations: 63.62 kB / 0.8074 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.9981, allocations: 1.241 MB / 0.8087 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.9982, allocations: 41.89 kB / 0.8087 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004793/0.9987, allocations: 0.5758 MB / 0.8093 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003208/0.9991, allocations: 277.6 kB / 0.8095 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/0.9994, allocations: 182 kB / 0.8097 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.9996, allocations: 340.5 kB / 0.81 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/1.001, allocations: 0.5448 MB / 0.8105 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/1.003, allocations: 0.8201 MB / 0.8113 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/1.006, allocations: 1.326 MB / 0.8126 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.006, allocations: 2.094 kB / 0.8126 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003744/1.01, allocations: 1.495 MB / 0.8141 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/1.01, allocations: 11.31 kB / 0.8141 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/1.01, allocations: 9.281 kB / 0.8141 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/1.01, allocations: 10.75 kB / 0.8141 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/1.011, allocations: 296.8 kB / 0.8144 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/1.011, allocations: 15.78 kB / 0.8144 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/1.013, allocations: 215.8 kB / 0.8146 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.013, allocations: 46.83 kB / 0.8147 GB, free: 9.863 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.000699/1.014, allocations: 350.3 kB / 0.815 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/1.014, allocations: 137.6 kB / 0.8151 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003813/1.018, allocations: 1.408 MB / 0.8165 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.018, allocations: 9.875 kB / 0.8165 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.018, allocations: 4 kB / 0.8165 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/1.018, allocations: 5.703 kB / 0.8165 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005838/1.024, allocations: 2.785 MB / 0.8193 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/1.024, allocations: 5.5 kB / 0.8193 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/1.025, allocations: 225.9 kB / 0.8195 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.882e-05/1.025, allocations: 11.56 kB / 0.8195 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.23e-05/1.025, allocations: 28.28 kB / 0.8195 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/1.025, allocations: 11.62 kB / 0.8195 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.025, allocations: 6.625 kB / 0.8195 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005452/1.031, allocations: 2.25 MB / 0.8217 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007301/1.031, allocations: 294.9 kB / 0.822 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/1.032, allocations: 26.11 kB / 0.822 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/1.033, allocations: 136.9 kB / 0.8222 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.033, allocations: 61.25 kB / 0.8222 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-05/1.033, allocations: 40 kB / 0.8223 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001073/1.034, allocations: 0.8495 MB / 0.8231 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/1.034, allocations: 0 / 0.8231 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001163/1.035, allocations: 314.8 kB / 0.8234 GB, free: 6.91 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.001869/1.037, allocations: 0.5296 MB / 0.8239 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004137/1.041, allocations: 1.409 MB / 0.8253 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/1.041, allocations: 4 kB / 0.8253 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/1.043, allocations: 0.6438 MB / 0.8259 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/1.046, allocations: 0.5901 MB / 0.8265 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/1.052, allocations: 3.051 MB / 0.8295 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008344/1.053, allocations: 1.167 MB / 0.8306 GB, free: 244 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006333/1.053, allocations: 123.4 kB / 0.8307 GB, free: 120 kB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/1.053, allocations: 4 kB / 0.8307 GB, free: 116 kB / 0.5919 GB Notification: Performance of Templates: time 0.03241/1.086, allocations: 20.36 MB / 0.8506 GB, free: 11.91 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (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)