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.001139/0.001139, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001207/0.001207, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7908/0.7908, allocations: 135.1 MB / 426.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.91 kB / 0.5067 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.315, allocations: 80.91 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5131/0.8281, allocations: 193.8 MB / 0.775 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008159/0.8363, allocations: 5.145 MB / 0.7801 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.8378, allocations: 49.69 kB / 0.7801 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.8396, allocations: 0.8094 MB / 0.7809 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006216/0.8459, allocations: 2.605 MB / 0.7834 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.8485, allocations: 1.107 MB / 0.7845 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002957/0.8514, allocations: 2.611 MB / 0.7871 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.8525, allocations: 0.8943 MB / 0.7879 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.8542, allocations: 1.077 MB / 0.789 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.8552, allocations: 0.9443 MB / 0.7899 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.8554, allocations: 76.78 kB / 0.79 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.8583, allocations: 1.788 MB / 0.7917 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003872/0.8587, allocations: 436 kB / 0.7922 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006948/0.8594, allocations: 0.6452 MB / 0.7928 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.8625, allocations: 2.171 MB / 0.7949 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8625, allocations: 0 / 0.7949 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8625, allocations: 1.125 kB / 0.7949 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.8625, allocations: 0 / 0.7949 GB, free: 0.832 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.004467/0.867, allocations: 1.932 MB / 0.7968 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.867, allocations: 12.48 kB / 0.7968 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003731/0.8708, allocations: 0.6574 MB / 0.7974 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.8727, allocations: 0.9446 MB / 0.7984 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.8727, allocations: 64.59 kB / 0.7984 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.8729, allocations: 96.23 kB / 0.7985 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/0.8758, allocations: 1.474 MB / 0.8 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.8758, allocations: 0.875 kB / 0.8 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.958e-05/0.8759, allocations: 38.3 kB / 0.8 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.757e-05/0.876, allocations: 48.69 kB / 0.8 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/0.8795, allocations: 1.52 MB / 0.8015 GB, free: 15.17 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.007303/0.8868, allocations: 5.469 MB / 0.8069 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/0.89, allocations: 1.293 MB / 0.8081 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.8915, allocations: 0.6612 MB / 0.8088 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008228/0.8923, allocations: 0.5779 MB / 0.8093 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001628/0.894, allocations: 0.709 MB / 0.81 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.826e-06/0.894, allocations: 2.312 kB / 0.81 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005061/0.8991, allocations: 1.875 MB / 0.8119 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.8991, allocations: 61.03 kB / 0.8119 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.9006, allocations: 1.242 MB / 0.8131 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.9007, allocations: 44.77 kB / 0.8132 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.9011, allocations: 0.5839 MB / 0.8137 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.9013, allocations: 274.8 kB / 0.814 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.9016, allocations: 182.7 kB / 0.8142 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.9017, allocations: 342.3 kB / 0.8145 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.9031, allocations: 0.538 MB / 0.815 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.9047, allocations: 0.8241 MB / 0.8158 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/0.9076, allocations: 1.317 MB / 0.8171 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.9077, allocations: 5.344 kB / 0.8171 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003866/0.9115, allocations: 1.503 MB / 0.8186 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.9116, allocations: 8.594 kB / 0.8186 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.9116, allocations: 8.812 kB / 0.8186 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.9116, allocations: 13.53 kB / 0.8186 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.9129, allocations: 289.4 kB / 0.8189 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.913, allocations: 23.92 kB / 0.8189 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.9143, allocations: 195.7 kB / 0.8191 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/0.9144, allocations: 50.27 kB / 0.8192 GB, free: 9.105 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.0005226/0.9149, allocations: 343.8 kB / 0.8195 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.9151, allocations: 138.2 kB / 0.8196 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/0.9185, allocations: 1.407 MB / 0.821 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.9185, allocations: 7.969 kB / 0.821 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.9185, allocations: 3 kB / 0.821 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.9185, allocations: 3.984 kB / 0.821 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005273/0.9238, allocations: 2.798 MB / 0.8237 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.9238, allocations: 4.719 kB / 0.8237 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.9249, allocations: 223.8 kB / 0.824 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.925, allocations: 7.75 kB / 0.824 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/0.9251, allocations: 29.41 kB / 0.824 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.9251, allocations: 11.09 kB / 0.824 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.9251, allocations: 5.469 kB / 0.824 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004827/0.9299, allocations: 2.249 MB / 0.8262 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006312/0.9306, allocations: 297.4 kB / 0.8265 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.9307, allocations: 17.69 kB / 0.8265 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009786/0.9317, allocations: 120.7 kB / 0.8266 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.9319, allocations: 58.41 kB / 0.8267 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-05/0.932, allocations: 38.06 kB / 0.8267 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001019/0.933, allocations: 0.8572 MB / 0.8276 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.933, allocations: 0 / 0.8276 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001058/0.9341, allocations: 311.6 kB / 0.8279 GB, free: 4.766 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.001207/0.9353, allocations: 0.5362 MB / 0.8284 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003385/0.9387, allocations: 1.294 MB / 0.8296 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.9387, allocations: 4 kB / 0.8296 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.9403, allocations: 0.6381 MB / 0.8303 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.9428, allocations: 0.5948 MB / 0.8308 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/0.9476, allocations: 2.553 MB / 0.8333 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007362/0.9484, allocations: 1.175 MB / 0.8345 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001179/0.9496, allocations: 341.9 kB / 0.8348 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/0.9499, allocations: 111.4 kB / 0.8349 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of SimCode: time 1.513e-06/0.95, allocations: 0 / 0.8349 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.03282/0.9828, allocations: 22.2 MB / 0.8566 GB, free: 7.859 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)