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.005033/0.005033, allocations: 102.6 kB / 15.73 MB, free: 6.02 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.001129/0.001129, allocations: 194.7 kB / 16.68 MB, free: 5.941 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.825/0.825, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 71.83 kB / 0.5814 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1598, allocations: 80.2 MB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5964/0.7562, allocations: 193.8 MB / 0.849 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009769/0.766, allocations: 5.143 MB / 0.854 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.7678, allocations: 46.75 kB / 0.854 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0027/0.7705, allocations: 0.8249 MB / 0.8549 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008599/0.7792, allocations: 2.69 MB / 0.8575 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003225/0.7824, allocations: 1.109 MB / 0.8586 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003975/0.7864, allocations: 2.616 MB / 0.8611 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.7881, allocations: 0.8959 MB / 0.862 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.7906, allocations: 1.12 MB / 0.8631 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.7923, allocations: 0.9456 MB / 0.864 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000301/0.7926, allocations: 84 kB / 0.8641 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003891/0.7965, allocations: 1.793 MB / 0.8658 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006107/0.7971, allocations: 434.6 kB / 0.8663 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.7983, allocations: 0.6535 MB / 0.8669 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004341/0.8027, allocations: 2.173 MB / 0.869 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8027, allocations: 0 / 0.869 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8027, allocations: 0 / 0.869 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.707e-05/0.8028, allocations: 0 / 0.869 GB, free: 15.51 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.005491/0.8083, allocations: 1.918 MB / 0.8709 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.8083, allocations: 16.02 kB / 0.8709 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004141/0.8125, allocations: 0.6576 MB / 0.8715 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.8145, allocations: 0.9487 MB / 0.8725 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.369e-05/0.8146, allocations: 73.97 kB / 0.8725 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.8148, allocations: 84 kB / 0.8726 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003379/0.8182, allocations: 1.47 MB / 0.8741 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.8182, allocations: 3.938 kB / 0.8741 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.8183, allocations: 39.98 kB / 0.8741 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-05/0.8184, allocations: 49.98 kB / 0.8741 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004157/0.8226, allocations: 1.519 MB / 0.8756 GB, free: 8.539 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.007978/0.8306, allocations: 5.463 MB / 0.881 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003684/0.8343, allocations: 1.285 MB / 0.8822 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.836, allocations: 0.6555 MB / 0.8829 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000906/0.8369, allocations: 0.585 MB / 0.8834 GB, free: 144 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001841/0.8388, allocations: 0.7107 MB / 0.8841 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 4.227e-06/0.8388, allocations: 384 / 0.8841 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.005753/0.8445, allocations: 1.882 MB / 0.886 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.8446, allocations: 64.06 kB / 0.886 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.8465, allocations: 1.239 MB / 0.8872 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.8466, allocations: 41.7 kB / 0.8873 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006368/0.8473, allocations: 0.5792 MB / 0.8878 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/0.8476, allocations: 276.1 kB / 0.8881 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003747/0.848, allocations: 186.5 kB / 0.8883 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.8482, allocations: 341.9 kB / 0.8886 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.8498, allocations: 0.5324 MB / 0.8891 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.8517, allocations: 0.8367 MB / 0.8899 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0032/0.8549, allocations: 1.317 MB / 0.8912 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.8549, allocations: 4 kB / 0.8912 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003994/0.8589, allocations: 1.494 MB / 0.8927 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.859, allocations: 8 kB / 0.8927 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.859, allocations: 8.875 kB / 0.8927 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.859, allocations: 12 kB / 0.8927 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.8605, allocations: 295.5 kB / 0.893 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.059e-05/0.8605, allocations: 22.27 kB / 0.893 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.8619, allocations: 194.8 kB / 0.8932 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.862, allocations: 47.98 kB / 0.8933 GB, free: 5.797 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.0006254/0.8627, allocations: 335.7 kB / 0.8936 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/0.863, allocations: 142.2 kB / 0.8937 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/0.8669, allocations: 1.416 MB / 0.8951 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.8669, allocations: 8 kB / 0.8951 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.867, allocations: 4 kB / 0.8951 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.867, allocations: 3.984 kB / 0.8951 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005943/0.8729, allocations: 2.803 MB / 0.8978 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.8729, allocations: 4 kB / 0.8979 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.8742, allocations: 219.8 kB / 0.8981 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.8742, allocations: 4 kB / 0.8981 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.841e-05/0.8743, allocations: 31.97 kB / 0.8981 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.369e-05/0.8743, allocations: 12.81 kB / 0.8981 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.8743, allocations: 8 kB / 0.8981 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005346/0.8797, allocations: 2.244 MB / 0.9003 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005298/0.8802, allocations: 295.3 kB / 0.9006 GB, free: 14.08 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.8804, allocations: 20 kB / 0.9006 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.8815, allocations: 115.9 kB / 0.9007 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.8817, allocations: 64.38 kB / 0.9008 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.743e-05/0.8818, allocations: 41.12 kB / 0.9008 GB, free: 13.85 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001106/0.8829, allocations: 0.8522 MB / 0.9017 GB, free: 12.99 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8829, allocations: 0 / 0.9017 GB, free: 12.99 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001084/0.884, allocations: 319.6 kB / 0.902 GB, free: 12.68 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.001278/0.8853, allocations: 0.5374 MB / 0.9025 GB, free: 12.34 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00364/0.8889, allocations: 1.29 MB / 0.9037 GB, free: 11.05 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.889, allocations: 4.062 kB / 0.9037 GB, free: 11.04 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.8907, allocations: 0.6401 MB / 0.9044 GB, free: 10.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.8933, allocations: 0.5877 MB / 0.9049 GB, free: 9.836 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00523/0.8985, allocations: 2.562 MB / 0.9074 GB, free: 7.191 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008628/0.8994, allocations: 1.173 MB / 0.9086 GB, free: 5.992 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001181/0.9006, allocations: 345.9 kB / 0.9089 GB, free: 5.652 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/0.901, allocations: 115.4 kB / 0.909 GB, free: 5.539 MB / 0.67 GB Notification: Performance of SimCode: time 4.4e-07/0.901, allocations: 0 / 0.909 GB, free: 5.539 MB / 0.67 GB Notification: Performance of Templates: time 0.03937/0.9404, allocations: 22.37 MB / 0.9309 GB, free: 15.41 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)