Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.0007914/0.0007914, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0008634/0.0008634, allocations: 211.9 kB / 23.01 MB, free: 3.113 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.9511/0.9511, allocations: 230.6 MB / 256.8 MB, free: 3.473 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.8018/0.8018, allocations: 203.8 MB / 0.5049 GB, free: 0.707 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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [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.001095/0.001095, allocations: 67.89 kB / 0.7195 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5462/0.5473, allocations: 102 MB / 0.8191 GB, free: 25.29 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.04075/0.588, allocations: 55.79 MB / 0.8736 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.602, allocations: 10.52 MB / 0.8839 GB, free: 9.363 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.6047, allocations: 104.5 kB / 0.884 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002716/0.6074, allocations: 0.9115 MB / 0.8849 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006595/0.614, allocations: 2.091 MB / 0.8869 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005935/0.6199, allocations: 2.118 MB / 0.889 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006761/0.6267, allocations: 3.849 MB / 0.8927 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.6291, allocations: 0.9942 MB / 0.8937 GB, free: 2.352 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004724/0.6338, allocations: 1.994 MB / 0.8957 GB, free: 1.148 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/0.6368, allocations: 1.272 MB / 0.8969 GB, free: 408 kB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003854/0.6372, allocations: 105.4 kB / 0.897 GB, free: 408 kB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/0.6408, allocations: 1.377 MB / 0.8983 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004202/0.6413, allocations: 399.4 kB / 0.8987 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.6426, allocations: 0.854 MB / 0.8996 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004904/0.6475, allocations: 2.487 MB / 0.902 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6475, allocations: 0 / 0.902 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6475, allocations: 5.094 kB / 0.902 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.735e-05/0.6476, allocations: 0 / 0.902 GB, free: 13.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003579/0.6511, allocations: 2.128 MB / 0.9041 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.6512, allocations: 11.5 kB / 0.9041 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.6531, allocations: 0.6587 MB / 0.9047 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.655, allocations: 1.105 MB / 0.9058 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-05/0.655, allocations: 94.08 kB / 0.9059 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.6552, allocations: 116 kB / 0.906 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.6572, allocations: 1.489 MB / 0.9075 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.6573, allocations: 3.938 kB / 0.9075 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/0.6573, allocations: 56 kB / 0.9075 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.6574, allocations: 28 kB / 0.9075 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.6593, allocations: 1.217 MB / 0.9087 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007119/0.6664, allocations: 8.335 MB / 0.9169 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.6683, allocations: 1.055 MB / 0.9179 GB, free: 12.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008878/0.6692, allocations: 0.5258 MB / 0.9184 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006323/0.6698, allocations: 288.7 kB / 0.9187 GB, free: 12.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009693/0.6708, allocations: 0.6761 MB / 0.9194 GB, free: 11.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 3.597e-06/0.6708, allocations: 0 / 0.9194 GB, free: 11.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.003104/0.6739, allocations: 1.795 MB / 0.9211 GB, free: 9.688 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.6739, allocations: 68.41 kB / 0.9212 GB, free: 9.609 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.6754, allocations: 1.522 MB / 0.9227 GB, free: 8.082 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.149e-05/0.6755, allocations: 41.7 kB / 0.9227 GB, free: 8.035 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.676, allocations: 0.804 MB / 0.9235 GB, free: 7.223 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.6762, allocations: 309.4 kB / 0.9238 GB, free: 6.918 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.6764, allocations: 230.8 kB / 0.924 GB, free: 6.688 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6765, allocations: 349.9 kB / 0.9243 GB, free: 6.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008245/0.6773, allocations: 0.5256 MB / 0.9248 GB, free: 5.812 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.6784, allocations: 0.8954 MB / 0.9257 GB, free: 4.754 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.6802, allocations: 1.414 MB / 0.9271 GB, free: 3.188 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.6802, allocations: 4 kB / 0.9271 GB, free: 3.184 MB / 0.698 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00258/0.6828, allocations: 1.609 MB / 0.9287 GB, free: 1.566 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.6828, allocations: 12 kB / 0.9287 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.6828, allocations: 12 kB / 0.9287 GB, free: 1.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.6829, allocations: 16 kB / 0.9287 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/0.6836, allocations: 347.8 kB / 0.929 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/0.6836, allocations: 24.02 kB / 0.9291 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.6847, allocations: 230.8 kB / 0.9293 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/0.6848, allocations: 71.89 kB / 0.9294 GB, free: 0.8672 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0005801/0.6853, allocations: 347.3 kB / 0.9297 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.6855, allocations: 178.8 kB / 0.9299 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.6885, allocations: 2.162 MB / 0.932 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/0.6885, allocations: 27.98 kB / 0.932 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6885, allocations: 0 / 0.932 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.6885, allocations: 7.922 kB / 0.932 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004092/0.6926, allocations: 3.344 MB / 0.9353 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.6926, allocations: 3.938 kB / 0.9353 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005567/0.6932, allocations: 235.9 kB / 0.9355 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.6932, allocations: 4 kB / 0.9355 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-05/0.6933, allocations: 43.95 kB / 0.9355 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.6933, allocations: 4 kB / 0.9356 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.6933, allocations: 7.938 kB / 0.9356 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/0.6969, allocations: 2.772 MB / 0.9383 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007224/0.6976, allocations: 326.2 kB / 0.9386 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.6977, allocations: 24 kB / 0.9386 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005401/0.6983, allocations: 127.9 kB / 0.9387 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.6984, allocations: 84.78 kB / 0.9388 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.812e-05/0.6985, allocations: 47.97 kB / 0.9388 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001256/0.6997, allocations: 1.023 MB / 0.9398 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6997, allocations: 0 / 0.9398 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001437/0.7012, allocations: 0.5496 MB / 0.9404 GB, free: 5.496 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (113): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.001423/0.7026, allocations: 0.8256 MB / 0.9412 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002403/0.705, allocations: 1.442 MB / 0.9426 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.705, allocations: 0 / 0.9426 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.7061, allocations: 0.7637 MB / 0.9433 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.7083, allocations: 0.7409 MB / 0.9441 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.7129, allocations: 3.277 MB / 0.9473 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.7136, allocations: 1.309 MB / 0.9485 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/0.7141, allocations: 183.3 kB / 0.9487 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of SimCode: time 1.643e-06/0.7141, allocations: 4 kB / 0.9487 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of Templates: time 0.03436/0.7484, allocations: 29.2 MB / 0.9772 GB, free: 64 kB / 0.7448 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.497714872006327] Failed to read output from testmodel.py, exit status != 0: 0.7560488469898701 0.764879892 0.115234368 Calling exit ...