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.001811/0.001811, allocations: 81.27 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001487/0.001487, allocations: 162.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.419/1.419, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.204/1.204, allocations: 154.6 MB / 413.7 MB, free: 5.277 MB / 382.1 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 178] 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.555e-06/2.555e-06, allocations: 0 / 0.6186 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.657e-05/3.912e-05, allocations: 5.125 kB / 0.6186 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5781/0.5781, allocations: 214.3 MB / 0.8278 GB, free: 13.18 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01439/0.5925, allocations: 8.077 MB / 0.8357 GB, free: 5.777 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.5944, allocations: 95.12 kB / 0.8358 GB, free: 5.684 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.5973, allocations: 1.06 MB / 0.8368 GB, free: 4.617 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009573/0.6069, allocations: 3.296 MB / 0.84 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009626/0.6165, allocations: 3.685 MB / 0.8436 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006409/0.6229, allocations: 4.021 MB / 0.8476 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002243/0.6252, allocations: 1.096 MB / 0.8486 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007418/0.6326, allocations: 2.828 MB / 0.8514 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003018/0.6356, allocations: 1.235 MB / 0.8526 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004527/0.6361, allocations: 128 kB / 0.8527 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007835/0.6439, allocations: 3.232 MB / 0.8559 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.645, allocations: 0.6306 MB / 0.8565 GB, free: 380 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001676/0.6466, allocations: 0.6662 MB / 0.8571 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.009031/0.6557, allocations: 3.848 MB / 0.8609 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.6557, allocations: 0 / 0.8609 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6557, allocations: 0 / 0.8609 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.784e-05/0.6557, allocations: 0 / 0.8609 GB, free: 11.84 MB / 0.7012 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.006619/0.6623, allocations: 2.639 MB / 0.8635 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.6624, allocations: 9.469 kB / 0.8635 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007484/0.6699, allocations: 1.098 MB / 0.8646 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.6725, allocations: 1.146 MB / 0.8657 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.6726, allocations: 103.5 kB / 0.8658 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/0.6728, allocations: 124 kB / 0.8659 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004356/0.6772, allocations: 1.985 MB / 0.8678 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.6772, allocations: 11.94 kB / 0.8678 GB, free: 4.492 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.6774, allocations: 52 kB / 0.8679 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.843e-05/0.6774, allocations: 66.23 kB / 0.868 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005058/0.6825, allocations: 1.882 MB / 0.8698 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.6941, allocations: 6.937 MB / 0.8766 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004649/0.6987, allocations: 1.553 MB / 0.8781 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00202/0.7007, allocations: 0.7551 MB / 0.8788 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007167/0.7015, allocations: 140.9 kB / 0.879 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002273/0.7037, allocations: 0.8716 MB / 0.8798 GB, free: 8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=104): time 3.166e-06/0.7037, allocations: 0 / 0.8798 GB, free: 8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=104): time 0.00698/0.7107, allocations: 2.322 MB / 0.8821 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.7108, allocations: 64.41 kB / 0.8821 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.7133, allocations: 1.421 MB / 0.8835 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.7134, allocations: 53.69 kB / 0.8836 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009359/0.7144, allocations: 0.8735 MB / 0.8844 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004651/0.7148, allocations: 372.8 kB / 0.8848 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004665/0.7153, allocations: 238.8 kB / 0.885 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.7155, allocations: 357.9 kB / 0.8854 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/0.7175, allocations: 0.6661 MB / 0.886 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/0.7202, allocations: 1.285 MB / 0.8873 GB, free: 92 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004492/0.7247, allocations: 1.727 MB / 0.889 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.7247, allocations: 4 kB / 0.889 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005333/0.73, allocations: 1.913 MB / 0.8908 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.7301, allocations: 12 kB / 0.8908 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.7301, allocations: 12 kB / 0.8908 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/0.7301, allocations: 16 kB / 0.8909 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/0.7319, allocations: 364 kB / 0.8912 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.23e-05/0.732, allocations: 27.86 kB / 0.8912 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.7337, allocations: 219 kB / 0.8914 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.7339, allocations: 64.06 kB / 0.8915 GB, free: 11.59 MB / 0.7325 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.0007564/0.7346, allocations: 408.2 kB / 0.8919 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003863/0.735, allocations: 177.7 kB / 0.8921 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005105/0.7401, allocations: 1.812 MB / 0.8938 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.7401, allocations: 8 kB / 0.8938 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7401, allocations: 8 kB / 0.8938 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.7402, allocations: 3.984 kB / 0.8939 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008541/0.7487, allocations: 3.679 MB / 0.8974 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/0.7487, allocations: 7.625 kB / 0.8975 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/0.7503, allocations: 280.2 kB / 0.8977 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.15e-05/0.7504, allocations: 11.94 kB / 0.8977 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.7505, allocations: 43.97 kB / 0.8978 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.72e-05/0.7505, allocations: 8 kB / 0.8978 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/0.7505, allocations: 11.94 kB / 0.8978 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007311/0.7578, allocations: 2.9 MB / 0.9006 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008934/0.7587, allocations: 286.6 kB / 0.9009 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003851/0.7591, allocations: 27.98 kB / 0.9009 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.7607, allocations: 127.9 kB / 0.901 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.7609, allocations: 92.34 kB / 0.9011 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.761, allocations: 47.97 kB / 0.9012 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00154/0.7626, allocations: 0.9488 MB / 0.9021 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7626, allocations: 0 / 0.9021 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001855/0.7644, allocations: 0.4952 MB / 0.9026 GB, free: 0 / 0.7325 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.002137/0.7666, allocations: 0.6158 MB / 0.9032 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00464/0.7712, allocations: 1.585 MB / 0.9047 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.7712, allocations: 256 / 0.9047 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002287/0.7735, allocations: 0.7974 MB / 0.9055 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003694/0.7772, allocations: 0.686 MB / 0.9062 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.789, allocations: 3.81 MB / 0.9099 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.7902, allocations: 0.8056 MB / 0.9107 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001845/0.792, allocations: 407.9 kB / 0.9111 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006587/0.7927, allocations: 132.4 kB / 0.9112 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of SimCode: time 1.362e-06/0.7927, allocations: 0 / 0.9112 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of Templates: time 0.05171/0.8444, allocations: 27.96 MB / 0.9385 GB, free: 11.98 MB / 0.7794 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: 7.4856057576835155] Failed to read output from testmodel.py, exit status != 0: 0.8556508868932724 0.871896136 0.211721033 Calling exit ...