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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009912/0.0009912, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8984/0.8984, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7378/0.7378, allocations: 154.5 MB / 414.5 MB, free: 0.8594 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.216e-05/3.431e-05, allocations: 6.219 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5449/0.545, allocations: 214.2 MB / 0.8285 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.5562, allocations: 8.073 MB / 0.8364 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.5579, allocations: 98.97 kB / 0.8365 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00216/0.56, allocations: 1.058 MB / 0.8376 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006211/0.5662, allocations: 3.303 MB / 0.8408 GB, free: 476 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006818/0.5731, allocations: 3.679 MB / 0.8444 GB, free: 12.96 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004363/0.5774, allocations: 4.025 MB / 0.8483 GB, free: 8.922 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.5786, allocations: 1.103 MB / 0.8494 GB, free: 7.785 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004251/0.5829, allocations: 2.816 MB / 0.8521 GB, free: 4.961 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.5839, allocations: 1.239 MB / 0.8533 GB, free: 3.719 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.5841, allocations: 128 kB / 0.8535 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004974/0.5891, allocations: 3.228 MB / 0.8566 GB, free: 364 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004345/0.5895, allocations: 0.6384 MB / 0.8572 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005566/0.5901, allocations: 0.6662 MB / 0.8579 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004686/0.5947, allocations: 3.84 MB / 0.8616 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5947, allocations: 0 / 0.8616 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5947, allocations: 0 / 0.8616 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.998e-05/0.5948, allocations: 0 / 0.8616 GB, free: 11.2 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.003506/0.5983, allocations: 2.635 MB / 0.8642 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5983, allocations: 9.469 kB / 0.8642 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.6015, allocations: 1.103 MB / 0.8653 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.6033, allocations: 1.142 MB / 0.8664 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/0.6033, allocations: 106.5 kB / 0.8665 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.6035, allocations: 130.2 kB / 0.8666 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/0.6057, allocations: 1.98 MB / 0.8686 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.6058, allocations: 11.92 kB / 0.8686 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/0.6058, allocations: 56 kB / 0.8686 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/0.6059, allocations: 62.23 kB / 0.8687 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/0.6085, allocations: 1.882 MB / 0.8705 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006131/0.6146, allocations: 6.937 MB / 0.8773 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.6169, allocations: 1.546 MB / 0.8788 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.6179, allocations: 0.7619 MB / 0.8796 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/0.6183, allocations: 140.9 kB / 0.8797 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.6197, allocations: 0.8676 MB / 0.8805 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=104): time 3.066e-06/0.6197, allocations: 0 / 0.8805 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of matching and sorting (n=104): time 0.003443/0.6232, allocations: 2.322 MB / 0.8828 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.6232, allocations: 64.41 kB / 0.8829 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.6244, allocations: 1.429 MB / 0.8843 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.782e-05/0.6245, allocations: 49.69 kB / 0.8843 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004449/0.6249, allocations: 0.8658 MB / 0.8852 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.6251, allocations: 376.8 kB / 0.8855 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.6254, allocations: 238.8 kB / 0.8858 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.6255, allocations: 353.9 kB / 0.8861 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009793/0.6265, allocations: 0.6661 MB / 0.8867 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.628, allocations: 1.294 MB / 0.888 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/0.6301, allocations: 1.73 MB / 0.8897 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.6302, allocations: 4 kB / 0.8897 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.0025/0.6327, allocations: 1.91 MB / 0.8916 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.6327, allocations: 8 kB / 0.8916 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6327, allocations: 12 kB / 0.8916 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.6327, allocations: 16 kB / 0.8916 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008479/0.6336, allocations: 363.5 kB / 0.8919 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.6336, allocations: 26.97 kB / 0.892 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/0.6344, allocations: 223 kB / 0.8922 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/0.6345, allocations: 67.92 kB / 0.8922 GB, free: 10.95 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (157): * Single equations (assignments): 157 * 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.0004993/0.635, allocations: 400.3 kB / 0.8926 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.6351, allocations: 176.9 kB / 0.8928 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/0.638, allocations: 1.818 MB / 0.8946 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.638, allocations: 12 kB / 0.8946 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.638, allocations: 0 / 0.8946 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.638, allocations: 3.984 kB / 0.8946 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004399/0.6424, allocations: 3.687 MB / 0.8982 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.6424, allocations: 8 kB / 0.8982 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/0.6431, allocations: 271.7 kB / 0.8985 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.6431, allocations: 12 kB / 0.8985 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/0.6432, allocations: 43.95 kB / 0.8985 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.6432, allocations: 15.94 kB / 0.8985 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.6432, allocations: 15.94 kB / 0.8985 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/0.647, allocations: 2.896 MB / 0.9014 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.6474, allocations: 282.6 kB / 0.9016 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.6475, allocations: 35.98 kB / 0.9017 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/0.6481, allocations: 119.9 kB / 0.9018 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.6482, allocations: 96.34 kB / 0.9019 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.196e-05/0.6483, allocations: 47.97 kB / 0.9019 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008103/0.6491, allocations: 0.9526 MB / 0.9029 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.6491, allocations: 0 / 0.9029 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001016/0.6501, allocations: 0.4913 MB / 0.9033 GB, free: 15.36 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (110): * Single equations (assignments): 104 * 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.001097/0.6512, allocations: 0.6104 MB / 0.9039 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002332/0.6536, allocations: 1.589 MB / 0.9055 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6536, allocations: 4 kB / 0.9055 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.6547, allocations: 0.7898 MB / 0.9063 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.6563, allocations: 0.6964 MB / 0.9069 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005905/0.6622, allocations: 3.882 MB / 0.9107 GB, free: 7.918 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.6628, allocations: 0.8007 MB / 0.9115 GB, free: 7.078 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004146/0.6632, allocations: 148.4 kB / 0.9116 GB, free: 6.934 MB / 0.7605 GB Notification: Performance of SimCode: time 1.913e-06/0.6632, allocations: 0 / 0.9116 GB, free: 6.934 MB / 0.7605 GB Notification: Performance of Templates: time 0.02629/0.6895, allocations: 27.3 MB / 0.9383 GB, free: 11.89 MB / 0.7917 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.727334188297391] Failed to read output from testmodel.py, exit status != 0: 0.696115156635642 0.70405299 0.10741375500000001 Calling exit ...