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.007954/0.007954, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001691/0.001692, allocations: 196.6 kB / 16.79 MB, free: 5.816 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.416/1.416, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.1 MB / 425.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 60.19 kB / 0.5053 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1789, allocations: 80.92 MB / 0.5843 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5895/0.7684, allocations: 191.5 MB / 0.7714 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009618/0.7781, allocations: 5.183 MB / 0.7765 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.7799, allocations: 43.69 kB / 0.7765 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.7821, allocations: 0.7155 MB / 0.7772 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00706/0.7892, allocations: 2.452 MB / 0.7796 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.7921, allocations: 0.9969 MB / 0.7806 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004409/0.7965, allocations: 3.555 MB / 0.784 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.7979, allocations: 0.8132 MB / 0.7848 GB, free: 60 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.8, allocations: 0.9998 MB / 0.7858 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.8013, allocations: 0.9923 MB / 0.7868 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.8014, allocations: 52 kB / 0.7868 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003854/0.8053, allocations: 2.065 MB / 0.7888 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004586/0.8057, allocations: 410.6 kB / 0.7892 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007327/0.8065, allocations: 0.6222 MB / 0.7898 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.8087, allocations: 1.509 MB / 0.7913 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.8087, allocations: 4 kB / 0.7913 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8087, allocations: 0 / 0.7913 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.8088, allocations: 0 / 0.7913 GB, free: 9.395 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.005136/0.8139, allocations: 1.93 MB / 0.7932 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.814, allocations: 12.03 kB / 0.7932 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003925/0.8179, allocations: 0.6576 MB / 0.7939 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.8192, allocations: 0.8787 MB / 0.7947 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/0.8193, allocations: 73.98 kB / 0.7948 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.8195, allocations: 83.91 kB / 0.7949 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/0.8225, allocations: 1.478 MB / 0.7963 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.8225, allocations: 0 / 0.7963 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.8226, allocations: 39.98 kB / 0.7963 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.388e-05/0.8227, allocations: 56.67 kB / 0.7964 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003849/0.8266, allocations: 1.514 MB / 0.7979 GB, free: 2.484 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.00714/0.8337, allocations: 5.473 MB / 0.8032 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/0.8371, allocations: 1.301 MB / 0.8045 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/0.8387, allocations: 0.657 MB / 0.8051 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008354/0.8395, allocations: 0.5773 MB / 0.8057 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001728/0.8413, allocations: 0.7146 MB / 0.8064 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 3.216e-06/0.8413, allocations: 0 / 0.8064 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005272/0.8466, allocations: 1.874 MB / 0.8082 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.8466, allocations: 60.06 kB / 0.8083 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.848, allocations: 1.239 MB / 0.8095 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.878e-05/0.8481, allocations: 45.69 kB / 0.8095 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.8485, allocations: 0.5831 MB / 0.8101 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.8488, allocations: 268.1 kB / 0.8104 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.8491, allocations: 186.5 kB / 0.8105 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8492, allocations: 341.9 kB / 0.8109 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.8507, allocations: 0.5366 MB / 0.8114 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.8524, allocations: 0.8291 MB / 0.8122 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/0.8555, allocations: 1.309 MB / 0.8135 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.8555, allocations: 11.98 kB / 0.8135 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003628/0.8591, allocations: 1.495 MB / 0.8149 GB, free: 348 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.8591, allocations: 8 kB / 0.815 GB, free: 340 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.8592, allocations: 8 kB / 0.815 GB, free: 332 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.8592, allocations: 12 kB / 0.815 GB, free: 320 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.8606, allocations: 291.7 kB / 0.8153 GB, free: 28 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.8606, allocations: 23.92 kB / 0.8153 GB, free: 4 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.862, allocations: 220.8 kB / 0.8155 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.8621, allocations: 51.97 kB / 0.8155 GB, free: 15.74 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.0005546/0.8626, allocations: 335.7 kB / 0.8159 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.8628, allocations: 138.2 kB / 0.816 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/0.8665, allocations: 1.412 MB / 0.8174 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.8665, allocations: 8 kB / 0.8174 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.8665, allocations: 7.938 kB / 0.8174 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.8665, allocations: 3.984 kB / 0.8174 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005404/0.8719, allocations: 2.799 MB / 0.8201 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.872, allocations: 7.938 kB / 0.8201 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.8731, allocations: 216 kB / 0.8203 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.8731, allocations: 4 kB / 0.8203 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.581e-05/0.8732, allocations: 35.97 kB / 0.8204 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/0.8732, allocations: 15.92 kB / 0.8204 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8733, allocations: 4 kB / 0.8204 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005035/0.8783, allocations: 2.244 MB / 0.8226 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004687/0.8788, allocations: 299.2 kB / 0.8229 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.879, allocations: 24.08 kB / 0.8229 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.88, allocations: 135.6 kB / 0.823 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.8802, allocations: 64.36 kB / 0.8231 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.811e-05/0.8803, allocations: 35.97 kB / 0.8231 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001002/0.8813, allocations: 0.8522 MB / 0.8239 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8813, allocations: 4 kB / 0.824 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009856/0.8823, allocations: 315.7 kB / 0.8243 GB, free: 6.605 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.001235/0.8835, allocations: 0.531 MB / 0.8248 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003466/0.887, allocations: 1.279 MB / 0.826 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.887, allocations: 0 / 0.826 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001682/0.8887, allocations: 0.6365 MB / 0.8266 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/0.8913, allocations: 0.5648 MB / 0.8272 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/0.8966, allocations: 3.046 MB / 0.8302 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007563/0.8974, allocations: 1.171 MB / 0.8313 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005383/0.898, allocations: 127.4 kB / 0.8314 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of SimCode: time 8.62e-07/0.898, allocations: 0 / 0.8314 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of Templates: time 0.02985/0.9278, allocations: 20.34 MB / 0.8513 GB, free: 11.15 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)