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.001163/0.001163, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.001267/0.001267, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8031/0.8031, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 68.14 kB / 0.5067 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3398, allocations: 80.91 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5404/0.8803, allocations: 193.8 MB / 0.775 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009884/0.8902, allocations: 5.154 MB / 0.7801 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.8915, allocations: 49.69 kB / 0.7801 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.8933, allocations: 0.8124 MB / 0.7809 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006566/0.8999, allocations: 2.596 MB / 0.7834 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.9027, allocations: 1.108 MB / 0.7845 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002842/0.9056, allocations: 2.612 MB / 0.7871 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.9067, allocations: 0.8887 MB / 0.7879 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.9083, allocations: 1.08 MB / 0.789 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.9093, allocations: 0.9489 MB / 0.7899 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.9094, allocations: 77.75 kB / 0.79 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.9124, allocations: 1.781 MB / 0.7917 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003512/0.9127, allocations: 437 kB / 0.7921 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005879/0.9133, allocations: 0.6446 MB / 0.7928 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002668/0.916, allocations: 2.171 MB / 0.7949 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.916, allocations: 0 / 0.7949 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.284e-06/0.916, allocations: 0 / 0.7949 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.9161, allocations: 0.7188 kB / 0.7949 GB, free: 0.8477 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.004569/0.9206, allocations: 1.932 MB / 0.7968 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.9207, allocations: 12.98 kB / 0.7968 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003726/0.9244, allocations: 0.6581 MB / 0.7974 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.9262, allocations: 0.9472 MB / 0.7984 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.9262, allocations: 61.28 kB / 0.7984 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.9264, allocations: 93.11 kB / 0.7985 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/0.9294, allocations: 1.471 MB / 0.7999 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.9294, allocations: 5 kB / 0.7999 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.9295, allocations: 42.75 kB / 0.8 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-05/0.9296, allocations: 45.25 kB / 0.8 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003906/0.9335, allocations: 1.52 MB / 0.8015 GB, free: 15.18 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.007417/0.9409, allocations: 5.476 MB / 0.8069 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/0.9443, allocations: 1.292 MB / 0.8081 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.9459, allocations: 0.6572 MB / 0.8088 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008991/0.9468, allocations: 0.5806 MB / 0.8093 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/0.9485, allocations: 0.7113 MB / 0.81 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.256e-06/0.9485, allocations: 0 / 0.81 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005496/0.954, allocations: 1.874 MB / 0.8119 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.9541, allocations: 68.38 kB / 0.8119 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.9563, allocations: 1.239 MB / 0.8131 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.9565, allocations: 46.8 kB / 0.8132 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005489/0.957, allocations: 0.5781 MB / 0.8137 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003259/0.9574, allocations: 281.4 kB / 0.814 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/0.9578, allocations: 182.2 kB / 0.8142 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.9579, allocations: 341.4 kB / 0.8145 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.9594, allocations: 0.536 MB / 0.815 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.9611, allocations: 0.823 MB / 0.8158 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/0.9643, allocations: 1.326 MB / 0.8171 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.9644, allocations: 2.125 kB / 0.8171 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004035/0.9684, allocations: 1.497 MB / 0.8186 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.9685, allocations: 8.656 kB / 0.8186 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.9685, allocations: 9.281 kB / 0.8186 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/0.9685, allocations: 13.66 kB / 0.8186 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.9699, allocations: 294.9 kB / 0.8189 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.9699, allocations: 19.75 kB / 0.8189 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.9713, allocations: 202.6 kB / 0.8191 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.9715, allocations: 50.5 kB / 0.8192 GB, free: 9.113 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.0006095/0.9721, allocations: 332.2 kB / 0.8195 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.9724, allocations: 146.7 kB / 0.8196 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/0.9761, allocations: 1.409 MB / 0.821 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.9761, allocations: 7.594 kB / 0.821 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.9762, allocations: 1.188 kB / 0.821 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.9762, allocations: 3.984 kB / 0.821 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006273/0.9824, allocations: 2.794 MB / 0.8237 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.9825, allocations: 4.562 kB / 0.8237 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.9837, allocations: 220.3 kB / 0.824 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/0.9837, allocations: 5.594 kB / 0.824 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-05/0.9838, allocations: 30.06 kB / 0.824 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/0.9838, allocations: 10.72 kB / 0.824 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9838, allocations: 6.969 kB / 0.824 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005189/0.989, allocations: 2.254 MB / 0.8262 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006937/0.9898, allocations: 294.9 kB / 0.8265 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002903/0.9901, allocations: 19.16 kB / 0.8265 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.9912, allocations: 115.5 kB / 0.8266 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.9914, allocations: 59.34 kB / 0.8267 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.481e-05/0.9915, allocations: 39.62 kB / 0.8267 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001173/0.9926, allocations: 0.8536 MB / 0.8275 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.763e-06/0.9926, allocations: 0 / 0.8275 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001129/0.9938, allocations: 331.5 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.001249/0.995, allocations: 0.5278 MB / 0.8284 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003553/0.9986, allocations: 1.286 MB / 0.8296 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.9986, allocations: 4.25 kB / 0.8296 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001705/1, allocations: 0.6404 MB / 0.8303 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/1.003, allocations: 0.5891 MB / 0.8308 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/1.008, allocations: 2.561 MB / 0.8333 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008014/1.009, allocations: 1.167 MB / 0.8345 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001203/1.01, allocations: 349 kB / 0.8348 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/1.01, allocations: 107.4 kB / 0.8349 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/1.01, allocations: 0 / 0.8349 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.03981/1.05, allocations: 22.2 MB / 0.8566 GB, free: 7.875 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)