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.001522/0.001522, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9395/0.9395, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 61.27 kB / 0.5053 GB, free: 5.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1836, allocations: 80.92 MB / 0.5844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5356/0.7192, allocations: 193.8 MB / 0.7736 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009497/0.7288, allocations: 5.133 MB / 0.7786 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.7302, allocations: 47.69 kB / 0.7787 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.7321, allocations: 0.8081 MB / 0.7795 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006468/0.7387, allocations: 2.603 MB / 0.782 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.7415, allocations: 1.114 MB / 0.7831 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003681/0.7452, allocations: 2.607 MB / 0.7857 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.7466, allocations: 0.8805 MB / 0.7865 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.7483, allocations: 1.082 MB / 0.7876 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.7494, allocations: 0.9534 MB / 0.7885 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.7496, allocations: 80 kB / 0.7886 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.7528, allocations: 1.769 MB / 0.7903 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004098/0.7532, allocations: 430.6 kB / 0.7907 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006527/0.7539, allocations: 0.6564 MB / 0.7914 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.7572, allocations: 2.134 MB / 0.7934 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7572, allocations: 0 / 0.7934 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7573, allocations: 0 / 0.7934 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.7573, allocations: 0 / 0.7934 GB, free: 6.766 MB / 0.6075 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.005002/0.7623, allocations: 1.932 MB / 0.7953 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.7623, allocations: 12.03 kB / 0.7953 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004032/0.7664, allocations: 0.6576 MB / 0.796 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.768, allocations: 0.8802 MB / 0.7968 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-05/0.7681, allocations: 66 kB / 0.7969 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.7683, allocations: 95.88 kB / 0.797 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/0.7715, allocations: 1.478 MB / 0.7984 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.7715, allocations: 0 / 0.7984 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.7716, allocations: 32 kB / 0.7985 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-05/0.7717, allocations: 49.98 kB / 0.7985 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004016/0.7757, allocations: 1.526 MB / 0.8 GB, free: 15.85 MB / 0.6231 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.007622/0.7833, allocations: 5.488 MB / 0.8054 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/0.7871, allocations: 1.292 MB / 0.8066 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.7888, allocations: 0.6532 MB / 0.8073 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009177/0.7898, allocations: 0.5851 MB / 0.8078 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001939/0.7917, allocations: 0.7106 MB / 0.8085 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 2.885e-06/0.7917, allocations: 3.938 kB / 0.8085 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005773/0.7975, allocations: 1.882 MB / 0.8104 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.7976, allocations: 60.06 kB / 0.8104 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.7991, allocations: 1.239 MB / 0.8116 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.255e-05/0.7992, allocations: 53.64 kB / 0.8117 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004464/0.7996, allocations: 0.5791 MB / 0.8123 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.7999, allocations: 272.1 kB / 0.8125 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/0.8002, allocations: 182.5 kB / 0.8127 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8004, allocations: 345.9 kB / 0.813 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.8021, allocations: 0.5327 MB / 0.8135 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.804, allocations: 0.8213 MB / 0.8143 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003433/0.8074, allocations: 1.331 MB / 0.8156 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.8074, allocations: 0 / 0.8156 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004067/0.8115, allocations: 1.495 MB / 0.8171 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.8115, allocations: 8 kB / 0.8171 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.8116, allocations: 8 kB / 0.8171 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.8116, allocations: 15.98 kB / 0.8171 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.813, allocations: 296 kB / 0.8174 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.813, allocations: 12 kB / 0.8174 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.8144, allocations: 198.7 kB / 0.8176 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.501e-05/0.8145, allocations: 47.97 kB / 0.8177 GB, free: 13.11 MB / 0.6387 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.0005008/0.815, allocations: 343.7 kB / 0.818 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.8152, allocations: 134.3 kB / 0.8181 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003873/0.8191, allocations: 1.409 MB / 0.8195 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.8191, allocations: 11.94 kB / 0.8195 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.8191, allocations: 4 kB / 0.8195 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.8191, allocations: 3.984 kB / 0.8195 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005819/0.8249, allocations: 2.795 MB / 0.8222 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.825, allocations: 7.938 kB / 0.8223 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.8262, allocations: 224.2 kB / 0.8225 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.8262, allocations: 8 kB / 0.8225 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.574e-05/0.8263, allocations: 29.48 kB / 0.8225 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.8264, allocations: 7.984 kB / 0.8225 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.8264, allocations: 11.94 kB / 0.8225 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005704/0.8321, allocations: 2.24 MB / 0.8247 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00059/0.8327, allocations: 295.2 kB / 0.825 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.8329, allocations: 23.98 kB / 0.825 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.834, allocations: 111.9 kB / 0.8251 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.8342, allocations: 68.36 kB / 0.8252 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-05/0.8343, allocations: 35.97 kB / 0.8252 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00101/0.8353, allocations: 0.8483 MB / 0.826 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8353, allocations: 4 kB / 0.8261 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009947/0.8363, allocations: 323.7 kB / 0.8264 GB, free: 3.992 MB / 0.6387 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.001293/0.8376, allocations: 0.5343 MB / 0.8269 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004113/0.8417, allocations: 1.411 MB / 0.8283 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8418, allocations: 0 / 0.8283 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.8436, allocations: 0.6482 MB / 0.8289 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/0.8464, allocations: 0.597 MB / 0.8295 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/0.8514, allocations: 2.581 MB / 0.832 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/0.8522, allocations: 1.175 MB / 0.8331 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001486/0.8537, allocations: 349.9 kB / 0.8335 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.8541, allocations: 111.4 kB / 0.8336 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.8541, allocations: 0 / 0.8336 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.03755/0.8917, allocations: 22.2 MB / 0.8553 GB, free: 6.777 MB / 0.67 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)