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.0007683/0.0007683, allocations: 100.4 kB / 19.7 MB, free: 448 kB / 13.93 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.0007953/0.0007953, allocations: 216.9 kB / 23 MB, free: 2.988 MB / 13.93 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.9509/0.9509, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.8079/0.8079, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009777/0.0009777, allocations: 65.72 kB / 0.7194 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5866/0.5876, allocations: 102 MB / 0.8191 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1776/0.7651, allocations: 214.7 MB / 1.029 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.009877/0.775, allocations: 8.079 MB / 1.037 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.7762, allocations: 95.12 kB / 1.037 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.7779, allocations: 1.045 MB / 1.038 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.005106/0.783, allocations: 3.227 MB / 1.041 GB, free: 1.715 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.005579/0.7886, allocations: 3.53 MB / 1.044 GB, free: 14.18 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003225/0.7918, allocations: 3.975 MB / 1.048 GB, free: 10.19 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.7931, allocations: 1.104 MB / 1.049 GB, free: 9.047 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.7958, allocations: 2.32 MB / 1.052 GB, free: 6.719 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.7969, allocations: 1.365 MB / 1.053 GB, free: 5.348 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.797, allocations: 131.9 kB / 1.053 GB, free: 5.219 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004368/0.8014, allocations: 3.175 MB / 1.056 GB, free: 2.035 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003976/0.8018, allocations: 0.6151 MB / 1.057 GB, free: 1.418 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005192/0.8023, allocations: 0.8124 MB / 1.057 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00325/0.8055, allocations: 3.725 MB / 1.061 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8056, allocations: 4 kB / 1.061 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8056, allocations: 0 / 1.061 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.8056, allocations: 0 / 1.061 GB, free: 12.86 MB / 0.8386 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.8091, allocations: 2.647 MB / 1.064 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.8091, allocations: 12.03 kB / 1.064 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/0.8125, allocations: 1.091 MB / 1.065 GB, free: 9.055 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.8139, allocations: 1.15 MB / 1.066 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.909e-05/0.814, allocations: 102.5 kB / 1.066 GB, free: 7.758 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.8141, allocations: 132 kB / 1.066 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.8165, allocations: 1.98 MB / 1.068 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.8166, allocations: 3.938 kB / 1.068 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.945e-05/0.8167, allocations: 63.98 kB / 1.068 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.673e-05/0.8167, allocations: 62.3 kB / 1.068 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/0.8195, allocations: 1.886 MB / 1.07 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006228/0.8258, allocations: 6.958 MB / 1.077 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/0.8281, allocations: 1.557 MB / 1.078 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.8291, allocations: 0.7585 MB / 1.079 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003748/0.8295, allocations: 132.9 kB / 1.079 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.8307, allocations: 0.8759 MB / 1.08 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=104): time 2.855e-06/0.8307, allocations: 0 / 1.08 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of matching and sorting (n=104): time 0.003554/0.8343, allocations: 2.318 MB / 1.082 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.8343, allocations: 64.41 kB / 1.082 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.8355, allocations: 1.421 MB / 1.084 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/0.8356, allocations: 45.7 kB / 1.084 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004867/0.8361, allocations: 0.8736 MB / 1.085 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.8363, allocations: 376.8 kB / 1.085 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.8365, allocations: 242.8 kB / 1.085 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.8366, allocations: 357.9 kB / 1.086 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009832/0.8376, allocations: 0.6739 MB / 1.086 GB, free: 2.547 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.8389, allocations: 1.288 MB / 1.088 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/0.841, allocations: 1.727 MB / 1.089 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.841, allocations: 4 kB / 1.089 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002547/0.8435, allocations: 1.906 MB / 1.091 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.8436, allocations: 12 kB / 1.091 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.8436, allocations: 12 kB / 1.091 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.8436, allocations: 16 kB / 1.091 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008803/0.8445, allocations: 375.9 kB / 1.091 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.8445, allocations: 19.94 kB / 1.092 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/0.8453, allocations: 215 kB / 1.092 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/0.8454, allocations: 67.97 kB / 1.092 GB, free: 12.54 MB / 0.8698 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.0004642/0.8458, allocations: 411.2 kB / 1.092 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.846, allocations: 166.9 kB / 1.092 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.8484, allocations: 1.814 MB / 1.094 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.8484, allocations: 8 kB / 1.094 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8484, allocations: 4 kB / 1.094 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.8484, allocations: 11.97 kB / 1.094 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004284/0.8527, allocations: 3.675 MB / 1.098 GB, free: 6.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.8527, allocations: 4.094 kB / 1.098 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007074/0.8534, allocations: 284 kB / 1.098 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.8535, allocations: 12 kB / 1.098 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.8535, allocations: 39.97 kB / 1.098 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.807e-06/0.8535, allocations: 15.88 kB / 1.098 GB, free: 5.973 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.8535, allocations: 11.98 kB / 1.098 GB, free: 5.961 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/0.8571, allocations: 2.915 MB / 1.101 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/0.8575, allocations: 278.6 kB / 1.101 GB, free: 2.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.8576, allocations: 31.98 kB / 1.101 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/0.8582, allocations: 131.8 kB / 1.101 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.8583, allocations: 96.33 kB / 1.101 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.096e-05/0.8584, allocations: 43.97 kB / 1.101 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00081/0.8592, allocations: 0.9527 MB / 1.102 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.8592, allocations: 0 / 1.102 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001012/0.8602, allocations: 0.4913 MB / 1.103 GB, free: 0.9258 MB / 0.8698 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.001064/0.8613, allocations: 0.6013 MB / 1.103 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002348/0.8636, allocations: 1.593 MB / 1.105 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8636, allocations: 4 kB / 1.105 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.8647, allocations: 0.7782 MB / 1.106 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.8664, allocations: 0.6994 MB / 1.106 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/0.8722, allocations: 3.973 MB / 1.11 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.8727, allocations: 0.8004 MB / 1.111 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/0.8731, allocations: 147.4 kB / 1.111 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of SimCode: time 7.32e-07/0.8731, allocations: 0 / 1.111 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of Templates: time 0.02337/0.8965, allocations: 27.29 MB / 1.138 GB, free: 13.32 MB / 0.9167 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: 11.224331757985055] Failed to read output from testmodel.py, exit status != 0: 0.9025005549192429 1.243161148 0.10329983000000001 Calling exit ...