Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.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.0006891/0.0006891, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008965/0.001586, 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.0006782/0.0006782, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001047/0.001725, 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 1.105/1.105, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1195/1.224, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.01189/0.01189, allocations: 1.026 MB / 245.2 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002255/0.01414, allocations: 0.7254 MB / 245.9 MB, free: 13.11 MB / 250.7 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.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(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 247.4 MB, free: 11.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.85e-05, allocations: 5.688 kB / 247.4 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.002992/0.003021, allocations: 2.057 MB / 249.4 MB, free: 9.574 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.00407, allocations: 0.6076 MB / 250 MB, free: 8.961 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.955e-05/0.00417, allocations: 0 / 250 MB, free: 8.961 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.004303, allocations: 23.73 kB / 250.1 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.776e-05/0.004371, allocations: 47.64 kB / 250.1 MB, free: 8.891 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.004585, allocations: 95.75 kB / 250.2 MB, free: 8.797 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.004817, allocations: 183.3 kB / 250.4 MB, free: 8.617 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.004962, allocations: 42.45 kB / 250.4 MB, free: 8.578 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.005126, allocations: 114.8 kB / 250.5 MB, free: 8.469 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.005234, allocations: 47.81 kB / 250.6 MB, free: 8.422 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.005265, allocations: 12 kB / 250.6 MB, free: 8.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.017e-05/0.005285, allocations: 12 kB / 250.6 MB, free: 8.398 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.00532, allocations: 23.88 kB / 250.6 MB, free: 8.375 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.005363, allocations: 35.94 kB / 250.7 MB, free: 8.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.005564, allocations: 107.5 kB / 250.8 MB, free: 8.234 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.565e-05/0.00558, allocations: 0 / 250.8 MB, free: 8.234 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.005583, allocations: 0 / 250.8 MB, free: 8.234 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.005594, allocations: 0 / 250.8 MB, free: 8.234 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000639/0.006233, allocations: 387.8 kB / 251.1 MB, free: 7.832 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.006279, allocations: 15.97 kB / 251.2 MB, free: 7.816 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.006334, allocations: 20.92 kB / 251.2 MB, free: 7.797 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.006568, allocations: 157.4 kB / 251.3 MB, free: 7.617 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.006586, allocations: 8.375 kB / 251.3 MB, free: 7.609 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.006617, allocations: 20.38 kB / 251.4 MB, free: 7.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.006799, allocations: 117 kB / 251.5 MB, free: 7.461 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.006807, allocations: 192 / 251.5 MB, free: 7.461 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.006821, allocations: 8.375 kB / 251.5 MB, free: 7.453 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.006829, allocations: 7.938 kB / 251.5 MB, free: 7.445 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.867e-05/0.006878, allocations: 20.8 kB / 251.5 MB, free: 7.426 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.00739, allocations: 375.9 kB / 251.9 MB, free: 7.039 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.007505, allocations: 58.55 kB / 251.9 MB, free: 6.973 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.955e-05/0.007534, allocations: 24.83 kB / 252 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.00755, allocations: 0 / 252 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.007572, allocations: 30.56 kB / 252 MB, free: 6.906 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.007573, allocations: 0 / 252 MB, free: 6.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001715/0.007745, allocations: 77.8 kB / 252.1 MB, free: 6.824 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.007779, allocations: 51.41 kB / 252.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.00791, allocations: 175.9 kB / 252.3 MB, free: 6.574 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.007925, allocations: 29.7 kB / 252.3 MB, free: 6.539 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.008007, allocations: 128.4 kB / 252.4 MB, free: 6.406 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.008034, allocations: 31.7 kB / 252.5 MB, free: 6.375 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.008084, allocations: 33.69 kB / 252.5 MB, free: 6.336 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.00819, allocations: 326.8 kB / 252.8 MB, free: 6.008 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.00822, allocations: 19.92 kB / 252.8 MB, free: 5.988 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.644e-05/0.008256, allocations: 38.55 kB / 252.9 MB, free: 5.941 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.733e-05/0.008323, allocations: 62.47 kB / 252.9 MB, free: 5.871 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.008326, allocations: 0 / 252.9 MB, free: 5.871 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001144/0.00844, allocations: 93.62 kB / 253 MB, free: 5.773 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.008456, allocations: 7.938 kB / 253 MB, free: 5.766 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.008462, allocations: 0 / 253 MB, free: 5.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.008478, allocations: 7.938 kB / 253 MB, free: 5.758 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.008715, allocations: 47.95 kB / 253.1 MB, free: 5.711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.00872, allocations: 3.938 kB / 253.1 MB, free: 5.707 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.331e-05/0.008753, allocations: 11.89 kB / 253.1 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.008761, allocations: 8 kB / 253.1 MB, free: 5.688 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 7.3e-05/0.008834, allocations: 117.8 kB / 253.2 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.008855, allocations: 11.98 kB / 253.2 MB, free: 5.551 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.008889, allocations: 17.47 kB / 253.3 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008891, allocations: 0 / 253.3 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.008895, allocations: 3.938 kB / 253.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.008899, allocations: 4 kB / 253.3 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.009168, allocations: 247.6 kB / 253.5 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.009171, allocations: 4 kB / 253.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.009434, allocations: 35.97 kB / 253.6 MB, free: 5.219 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.009469, allocations: 19.84 kB / 253.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.009475, allocations: 11.95 kB / 253.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.009487, allocations: 0 / 253.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007641/0.01025, allocations: 1.2 MB / 254.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.01025, allocations: 3.984 kB / 254.8 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.01042, allocations: 192.6 kB / 255 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.01043, allocations: 11.98 kB / 255 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-05/0.01049, allocations: 0 / 255 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.01053, allocations: 7.984 kB / 255 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.01053, allocations: 0 / 255 MB, free: 3.676 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.818e-05/0.01058, allocations: 46.78 kB / 255 MB, free: 3.629 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01058, allocations: 0 / 255 MB, free: 3.629 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001544/0.01073, allocations: 31.95 kB / 255.1 MB, free: 3.598 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001029/0.01084, allocations: 88.34 kB / 255.2 MB, free: 3.5 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.01094, allocations: 67.73 kB / 255.2 MB, free: 3.434 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.01095, allocations: 4 kB / 255.2 MB, free: 3.43 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.01106, allocations: 41.12 kB / 255.3 MB, free: 3.387 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.01144, allocations: 365.6 kB / 255.6 MB, free: 2.973 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.01334, allocations: 339.9 kB / 256 MB, free: 2.609 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.01339, allocations: 72.03 kB / 256 MB, free: 2.52 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.01346, allocations: 13.48 kB / 256 MB, free: 2.504 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.01356, allocations: 79.36 kB / 256.1 MB, free: 2.426 MB / 250.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01356, allocations: 4 kB / 256.1 MB, free: 2.422 MB / 250.7 MB Notification: Performance of Templates: time 0.004326/0.01789, allocations: 2.078 MB / 258.2 MB, free: 436 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7545125549659133]