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.001098/0.001098, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001609/0.002706, allocations: 440 kB / 10.41 MB, free: 284 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.001008/0.001008, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002335, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9527/0.9527, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09032/1.043, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7642/0.7642, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.2739/1.038, allocations: 49.13 MB / 448.6 MB, free: 5.906 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 2.084e-06/2.084e-06, allocations: 0 / 450 MB, free: 4.539 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.182e-05, allocations: 4.906 kB / 450 MB, free: 4.535 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01482/0.01484, allocations: 13.54 MB / 463.6 MB, free: 7.023 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.02585, allocations: 5.191 MB / 468.7 MB, free: 1.875 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.02807, allocations: 91.19 kB / 468.8 MB, free: 1.785 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.02956, allocations: 0.6194 MB / 469.5 MB, free: 1.164 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004052/0.03362, allocations: 1.577 MB / 471 MB, free: 15.59 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.03722, allocations: 1.543 MB / 472.6 MB, free: 14.06 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.005624/0.04285, allocations: 3.83 MB / 476.4 MB, free: 10.22 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.04488, allocations: 0.9918 MB / 477.4 MB, free: 9.207 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005132/0.05001, allocations: 2.039 MB / 479.4 MB, free: 7.148 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.05186, allocations: 0.9626 MB / 480.4 MB, free: 6.184 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003214/0.05218, allocations: 104 kB / 480.5 MB, free: 6.082 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.05334, allocations: 332.3 kB / 480.8 MB, free: 5.758 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000457/0.05379, allocations: 322.6 kB / 481.1 MB, free: 5.441 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009135/0.05471, allocations: 492.3 kB / 481.6 MB, free: 4.961 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.0565, allocations: 1.3 MB / 482.9 MB, free: 3.656 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.662e-05/0.05651, allocations: 7.938 kB / 482.9 MB, free: 3.648 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.05652, allocations: 0 / 482.9 MB, free: 3.648 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.89e-05/0.05659, allocations: 1.031 kB / 482.9 MB, free: 3.648 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.002833/0.05942, allocations: 2.434 MB / 485.4 MB, free: 1.156 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.05946, allocations: 13.97 kB / 485.4 MB, free: 1.145 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.0609, allocations: 0.5028 MB / 485.9 MB, free: 0.6484 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.06271, allocations: 1.029 MB / 486.9 MB, free: 15.58 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/0.06277, allocations: 83.08 kB / 487 MB, free: 15.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.06288, allocations: 116 kB / 487.1 MB, free: 15.38 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.06415, allocations: 1.115 MB / 488.2 MB, free: 14.12 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.06417, allocations: 8.969 kB / 488.2 MB, free: 14.11 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.06423, allocations: 48 kB / 488.3 MB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.06425, allocations: 28 kB / 488.3 MB, free: 14.04 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005718/0.06483, allocations: 423.2 kB / 488.7 MB, free: 13.63 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004502/0.06933, allocations: 5.343 MB / 494.1 MB, free: 8.098 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007959/0.07012, allocations: 0.5011 MB / 494.6 MB, free: 7.598 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.07032, allocations: 159.4 kB / 494.7 MB, free: 7.438 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.07054, allocations: 80.58 kB / 494.8 MB, free: 7.359 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000378/0.07092, allocations: 341.5 kB / 495.1 MB, free: 7.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=85): time 3.397e-06/0.07092, allocations: 0 / 495.1 MB, free: 7.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=85): time 0.0008003/0.07172, allocations: 0.5543 MB / 495.7 MB, free: 6.469 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.07175, allocations: 60.41 kB / 495.7 MB, free: 6.395 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009191/0.07267, allocations: 1.132 MB / 496.9 MB, free: 5.242 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/0.07273, allocations: 45.7 kB / 496.9 MB, free: 5.191 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.07301, allocations: 0.5789 MB / 497.5 MB, free: 4.602 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.07319, allocations: 305.4 kB / 497.8 MB, free: 4.301 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.07338, allocations: 218.7 kB / 498 MB, free: 4.078 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.07347, allocations: 356.9 kB / 498.4 MB, free: 3.727 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.07366, allocations: 137.4 kB / 498.5 MB, free: 3.594 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.07407, allocations: 0.7404 MB / 499.2 MB, free: 2.637 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006364/0.07471, allocations: 0.7494 MB / 500 MB, free: 1.746 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.07472, allocations: 4 kB / 500 MB, free: 1.742 MB / 474.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0008394/0.07556, allocations: 0.7128 MB / 0.489 GB, free: 1.035 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.07558, allocations: 11.94 kB / 0.489 GB, free: 1.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.07559, allocations: 12 kB / 0.489 GB, free: 1.012 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.07561, allocations: 16 kB / 0.489 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006443/0.07625, allocations: 350.2 kB / 0.4893 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.07627, allocations: 19.94 kB / 0.4894 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.07683, allocations: 156.7 kB / 0.4895 GB, free: 496 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.586e-05/0.0769, allocations: 55.95 kB / 0.4896 GB, free: 440 kB / 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.0002549/0.07716, allocations: 196.1 kB / 0.4897 GB, free: 236 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.07729, allocations: 123.8 kB / 0.4899 GB, free: 112 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.07838, allocations: 0.9669 MB / 0.4908 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.07839, allocations: 18.23 kB / 0.4908 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.0784, allocations: 1.188 kB / 0.4908 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.07841, allocations: 3.984 kB / 0.4908 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.08031, allocations: 1.754 MB / 0.4925 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.08032, allocations: 0 / 0.4925 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004817/0.0808, allocations: 215.7 kB / 0.4927 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.08108, allocations: 227.7 kB / 0.493 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.08109, allocations: 7.938 kB / 0.493 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.08113, allocations: 31.97 kB / 0.493 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.08114, allocations: 4.562 kB / 0.493 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.08114, allocations: 0 / 0.493 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/0.08211, allocations: 1.006 MB / 0.494 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.08221, allocations: 30.27 kB / 0.494 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.08256, allocations: 69.06 kB / 0.4941 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/0.08265, allocations: 72.86 kB / 0.4942 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.0827, allocations: 35.97 kB / 0.4942 GB, free: 11.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004046/0.0831, allocations: 0.576 MB / 0.4947 GB, free: 11.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.0831, allocations: 0 / 0.4947 GB, free: 11.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008295/0.08393, allocations: 427.3 kB / 0.4952 GB, free: 10.6 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.001448/0.08538, allocations: 0.6534 MB / 0.4958 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007354/0.08611, allocations: 0.6058 MB / 0.4964 GB, free: 9.707 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.14e-05/0.08614, allocations: 21.19 kB / 0.4964 GB, free: 9.688 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.08658, allocations: 425.7 kB / 0.4968 GB, free: 9.266 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.08893, allocations: 4.179 MB / 0.5009 GB, free: 4.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.0993, allocations: 2.493 MB / 0.5033 GB, free: 1.785 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.09951, allocations: 302.5 kB / 0.5036 GB, free: 1.469 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009522/0.1005, allocations: 307.2 kB / 0.5039 GB, free: 1.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009599/0.1014, allocations: 0.5281 MB / 0.5044 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of SimCode: time 2.064e-06/0.1014, allocations: 0 / 0.5044 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of Templates: time 0.03402/0.1354, allocations: 28.98 MB / 0.5327 GB, free: 4.512 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.070743039250374]