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.001048/0.001048, allocations: 108 kB / 15.61 MB, free: 152 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.001061/0.001061, allocations: 197 kB / 16.53 MB, free: 6.664 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.757/0.757, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 64.84 kB / 0.5018 GB, free: 8.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1572, allocations: 80.21 MB / 0.5801 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4628/0.6201, allocations: 193.8 MB / 0.7694 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009377/0.6295, allocations: 5.136 MB / 0.7744 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.6313, allocations: 47.69 kB / 0.7744 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.6335, allocations: 0.8042 MB / 0.7752 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006221/0.6397, allocations: 2.602 MB / 0.7778 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.6424, allocations: 1.111 MB / 0.7788 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003088/0.6455, allocations: 2.611 MB / 0.7814 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.6467, allocations: 0.8922 MB / 0.7823 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.6483, allocations: 1.078 MB / 0.7833 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.6494, allocations: 0.9378 MB / 0.7842 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.6496, allocations: 80 kB / 0.7843 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.6527, allocations: 1.781 MB / 0.786 GB, free: 16 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004057/0.6531, allocations: 438.6 kB / 0.7865 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005997/0.6537, allocations: 0.6332 MB / 0.7871 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.6565, allocations: 2.138 MB / 0.7892 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6565, allocations: 0 / 0.7892 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6565, allocations: 11.94 kB / 0.7892 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.932e-05/0.6566, allocations: 0 / 0.7892 GB, free: 12.79 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.004531/0.6611, allocations: 1.932 MB / 0.7911 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.6611, allocations: 8.031 kB / 0.7911 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003783/0.6649, allocations: 0.6576 MB / 0.7917 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.6663, allocations: 0.8825 MB / 0.7926 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.535e-05/0.6663, allocations: 69.98 kB / 0.7926 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.6665, allocations: 88 kB / 0.7927 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.6694, allocations: 1.466 MB / 0.7942 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.6694, allocations: 7.875 kB / 0.7942 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.936e-05/0.6695, allocations: 36 kB / 0.7942 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/0.6696, allocations: 45.98 kB / 0.7942 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/0.6736, allocations: 1.526 MB / 0.7957 GB, free: 5.891 MB / 0.6075 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.007485/0.6811, allocations: 5.504 MB / 0.8011 GB, free: 116 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/0.6848, allocations: 1.275 MB / 0.8024 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.6865, allocations: 0.6639 MB / 0.803 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008781/0.6874, allocations: 0.5773 MB / 0.8036 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/0.6892, allocations: 0.711 MB / 0.8043 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 3.166e-06/0.6893, allocations: 0 / 0.8043 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005549/0.6948, allocations: 1.882 MB / 0.8061 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.6949, allocations: 64.06 kB / 0.8062 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.6965, allocations: 1.242 MB / 0.8074 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.566e-05/0.6966, allocations: 45.7 kB / 0.8074 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/0.6971, allocations: 0.5714 MB / 0.808 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003315/0.6975, allocations: 276.1 kB / 0.8082 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003629/0.6979, allocations: 190.4 kB / 0.8084 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.698, allocations: 341.9 kB / 0.8087 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.6996, allocations: 0.5328 MB / 0.8093 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.7016, allocations: 0.8252 MB / 0.8101 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/0.7049, allocations: 1.321 MB / 0.8114 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.705, allocations: 3.312 kB / 0.8114 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004029/0.709, allocations: 1.502 MB / 0.8128 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.709, allocations: 8 kB / 0.8128 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.7091, allocations: 8.844 kB / 0.8128 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.7091, allocations: 12 kB / 0.8129 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.7105, allocations: 295.5 kB / 0.8131 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.782e-05/0.7105, allocations: 19.92 kB / 0.8132 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.7119, allocations: 202.7 kB / 0.8134 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.876e-05/0.712, allocations: 47.98 kB / 0.8134 GB, free: 3.129 MB / 0.6231 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.0005215/0.7125, allocations: 335.7 kB / 0.8137 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/0.7128, allocations: 138.2 kB / 0.8139 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/0.7167, allocations: 1.408 MB / 0.8152 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.7168, allocations: 8 kB / 0.8152 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.7168, allocations: 0 / 0.8152 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.7168, allocations: 3.984 kB / 0.8152 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006651/0.7234, allocations: 2.795 MB / 0.818 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.7235, allocations: 7.938 kB / 0.818 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.7248, allocations: 219.8 kB / 0.8182 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.7248, allocations: 8 kB / 0.8182 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.769e-05/0.7249, allocations: 27.97 kB / 0.8182 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.436e-05/0.7249, allocations: 13.44 kB / 0.8182 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7249, allocations: 11.94 kB / 0.8182 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005585/0.7305, allocations: 2.248 MB / 0.8204 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005453/0.731, allocations: 295.1 kB / 0.8207 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/0.7313, allocations: 24 kB / 0.8207 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.7325, allocations: 115.9 kB / 0.8209 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.7326, allocations: 56.38 kB / 0.8209 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.797e-05/0.7327, allocations: 39.97 kB / 0.8209 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001095/0.7338, allocations: 0.8561 MB / 0.8218 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7338, allocations: 0 / 0.8218 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001198/0.735, allocations: 311.8 kB / 0.8221 GB, free: 10.04 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.001452/0.7365, allocations: 0.534 MB / 0.8226 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004302/0.7408, allocations: 1.415 MB / 0.824 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.7408, allocations: 4.062 kB / 0.824 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/0.7427, allocations: 0.6363 MB / 0.8246 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/0.7459, allocations: 0.5899 MB / 0.8252 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.7516, allocations: 2.597 MB / 0.8277 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.7527, allocations: 1.171 MB / 0.8289 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00188/0.7546, allocations: 337.9 kB / 0.8292 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/0.7551, allocations: 115.4 kB / 0.8293 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of SimCode: time 1.292e-06/0.7551, allocations: 0 / 0.8293 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of Templates: time 0.03856/0.7936, allocations: 22.21 MB / 0.851 GB, free: 12.84 MB / 0.67 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)