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.001091/0.001091, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001726/0.002818, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001084/0.001084, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001416/0.0025, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9539/0.9539, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1067/1.061, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.8019/0.8019, allocations: 155.3 MB / 399.3 MB, free: 15.91 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2864/1.088, allocations: 49.13 MB / 448.4 MB, free: 6.02 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 449.7 MB, free: 4.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.305e-06/9.668e-06, allocations: 3.156 kB / 449.8 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01008/0.01009, allocations: 13.55 MB / 463.3 MB, free: 7.164 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009366/0.01946, allocations: 5.187 MB / 468.5 MB, free: 2.016 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009001/0.02036, allocations: 92.81 kB / 468.6 MB, free: 1.926 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008533/0.02121, allocations: 0.6112 MB / 469.2 MB, free: 1.312 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.02325, allocations: 1.566 MB / 470.8 MB, free: 15.75 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.0256, allocations: 1.547 MB / 472.3 MB, free: 14.21 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003252/0.02885, allocations: 3.831 MB / 476.1 MB, free: 10.37 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.03045, allocations: 0.9941 MB / 477.1 MB, free: 9.355 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.03259, allocations: 2.028 MB / 479.2 MB, free: 7.309 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007974/0.03338, allocations: 0.9639 MB / 480.1 MB, free: 6.344 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.03349, allocations: 104 kB / 480.2 MB, free: 6.242 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.03405, allocations: 331.5 kB / 480.5 MB, free: 5.918 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.03441, allocations: 323.7 kB / 480.9 MB, free: 5.602 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003876/0.0348, allocations: 494.8 kB / 481.3 MB, free: 5.117 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.03585, allocations: 1.3 MB / 482.6 MB, free: 3.812 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-05/0.03586, allocations: 4.625 kB / 482.6 MB, free: 3.809 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.03587, allocations: 0.5938 kB / 482.6 MB, free: 3.809 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.03589, allocations: 0 / 482.6 MB, free: 3.809 MB / 458.7 MB 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.001952/0.03784, allocations: 2.438 MB / 485.1 MB, free: 1.312 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.03787, allocations: 13.22 kB / 485.1 MB, free: 1.301 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.03895, allocations: 0.5073 MB / 485.6 MB, free: 0.8008 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.04002, allocations: 1.026 MB / 486.6 MB, free: 15.74 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.04007, allocations: 83.53 kB / 486.7 MB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.04017, allocations: 116 kB / 486.8 MB, free: 15.54 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.04139, allocations: 1.117 MB / 487.9 MB, free: 14.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.04142, allocations: 9.188 kB / 488 MB, free: 14.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.04147, allocations: 44 kB / 488 MB, free: 14.22 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.04149, allocations: 29.17 kB / 488 MB, free: 14.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.04195, allocations: 427.1 kB / 488.4 MB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/0.04535, allocations: 5.342 MB / 493.8 MB, free: 8.25 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/0.04612, allocations: 495.5 kB / 494.3 MB, free: 7.766 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.04633, allocations: 166.9 kB / 494.4 MB, free: 7.598 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002147/0.04655, allocations: 83.33 kB / 494.5 MB, free: 7.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000377/0.04692, allocations: 346.6 kB / 494.9 MB, free: 7.176 MB / 474.7 MB Notification: Performance of pre-optimization done (n=85): time 2.555e-06/0.04692, allocations: 3.938 kB / 494.9 MB, free: 7.172 MB / 474.7 MB Notification: Performance of matching and sorting (n=85): time 0.0009443/0.04787, allocations: 0.5443 MB / 495.4 MB, free: 6.629 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.04791, allocations: 60.41 kB / 495.5 MB, free: 6.555 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007254/0.04864, allocations: 1.144 MB / 496.6 MB, free: 5.391 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.04869, allocations: 41.7 kB / 496.6 MB, free: 5.344 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.04898, allocations: 0.5804 MB / 497.2 MB, free: 4.754 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.04915, allocations: 305.4 kB / 497.5 MB, free: 4.453 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.04934, allocations: 222.7 kB / 497.7 MB, free: 4.227 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.04944, allocations: 353.8 kB / 498.1 MB, free: 3.875 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.04963, allocations: 134.9 kB / 498.2 MB, free: 3.746 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.05007, allocations: 0.7382 MB / 499 MB, free: 2.793 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005962/0.05066, allocations: 0.721 MB / 499.7 MB, free: 1.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.05067, allocations: 4 kB / 499.7 MB, free: 1.926 MB / 474.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0007245/0.05139, allocations: 0.7034 MB / 0.4887 GB, free: 1.227 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.05141, allocations: 13.09 kB / 0.4887 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.05142, allocations: 12 kB / 0.4887 GB, free: 1.203 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.05144, allocations: 16 kB / 0.4887 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.05207, allocations: 345.7 kB / 0.489 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.05209, allocations: 29.14 kB / 0.4891 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.05249, allocations: 152.7 kB / 0.4892 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.05256, allocations: 59.95 kB / 0.4893 GB, free: 0.6172 MB / 474.7 MB 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.0002118/0.05277, allocations: 191.9 kB / 0.4894 GB, free: 432 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.05289, allocations: 121.3 kB / 0.4896 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.05412, allocations: 0.9606 MB / 0.4905 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.05414, allocations: 20.48 kB / 0.4905 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.05414, allocations: 0.625 kB / 0.4905 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.05415, allocations: 15.91 kB / 0.4905 GB, free: 15.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.05576, allocations: 1.749 MB / 0.4922 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.05576, allocations: 0 / 0.4922 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/0.05624, allocations: 216.8 kB / 0.4924 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.05647, allocations: 219.9 kB / 0.4926 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.05647, allocations: 5.125 kB / 0.4927 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.05651, allocations: 39.89 kB / 0.4927 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.05652, allocations: 8 kB / 0.4927 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.05652, allocations: 1.281 kB / 0.4927 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009223/0.05744, allocations: 0.9978 MB / 0.4937 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.05754, allocations: 33.72 kB / 0.4937 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.05786, allocations: 70.95 kB / 0.4938 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.05794, allocations: 80.8 kB / 0.4939 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.05799, allocations: 35.97 kB / 0.4939 GB, free: 11.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003766/0.05837, allocations: 0.5746 MB / 0.4944 GB, free: 11.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05837, allocations: 0 / 0.4944 GB, free: 11.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006261/0.05899, allocations: 427.3 kB / 0.4949 GB, free: 10.79 MB / 490.7 MB 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 (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.001398/0.06039, allocations: 0.652 MB / 0.4955 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006122/0.061, allocations: 0.5838 MB / 0.4961 GB, free: 9.922 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-05/0.06103, allocations: 28.48 kB / 0.4961 GB, free: 9.895 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.06134, allocations: 319.2 kB / 0.4964 GB, free: 9.582 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.0626, allocations: 0.7515 MB / 0.4971 GB, free: 8.875 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009948/0.07255, allocations: 2.504 MB / 0.4996 GB, free: 6.309 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.07273, allocations: 299.8 kB / 0.4999 GB, free: 5.996 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007152/0.07345, allocations: 310.1 kB / 0.5002 GB, free: 5.758 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000871/0.07432, allocations: 0.5477 MB / 0.5007 GB, free: 5.203 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.07432, allocations: 0 / 0.5007 GB, free: 5.203 MB / 490.7 MB Notification: Performance of Templates: time 0.03106/0.1054, allocations: 29.12 MB / 0.5291 GB, free: 8.887 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.206979488953948]