Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 199.7 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] 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.008248/0.008248, allocations: 1.341 MB / 307.5 MB, free: 7.508 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 59.91 kB / 431.2 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1056, allocations: 52.45 MB / 483.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.004026/0.1096, allocations: 1.808 MB / 485.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1109, allocations: 0.5572 MB / 486 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.1111, allocations: 4 kB / 486 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.1113, allocations: 15.8 kB / 486 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.1114, allocations: 35.66 kB / 486 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.1118, allocations: 87.88 kB / 486.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.1121, allocations: 163.4 kB / 486.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.1123, allocations: 41.47 kB / 486.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.1124, allocations: 59.72 kB / 486.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1125, allocations: 55.7 kB / 486.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.1126, allocations: 8 kB / 486.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.642e-05/0.1126, allocations: 12 kB / 486.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.1126, allocations: 23.92 kB / 486.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.983e-05/0.1127, allocations: 59.67 kB / 486.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.1129, allocations: 131.4 kB / 486.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.113, allocations: 0 / 486.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.113, allocations: 3.938 kB / 486.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.113, allocations: 0 / 486.7 MB, free: 12.06 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008324/0.1138, allocations: 454.7 kB / 487.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1138, allocations: 15.89 kB / 487.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.1139, allocations: 16.84 kB / 487.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.1142, allocations: 208.8 kB / 487.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1142, allocations: 8.375 kB / 487.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.1143, allocations: 20.34 kB / 487.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.1145, allocations: 118.2 kB / 487.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1146, allocations: 0 / 487.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1146, allocations: 8 kB / 487.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1146, allocations: 0 / 487.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.1148, allocations: 67.88 kB / 487.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/0.1157, allocations: 0.5045 MB / 488.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.1159, allocations: 66.55 kB / 488.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.1161, allocations: 32.97 kB / 488.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.1161, allocations: 7.938 kB / 488.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1161, allocations: 30.56 kB / 488.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.664e-06/0.1161, allocations: 0 / 488.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004926/0.1166, allocations: 133.7 kB / 488.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.1167, allocations: 51.41 kB / 488.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.1168, allocations: 178.9 kB / 488.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1169, allocations: 29.64 kB / 488.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.117, allocations: 120 kB / 488.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.117, allocations: 19.78 kB / 488.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.117, allocations: 29.72 kB / 488.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1172, allocations: 326.8 kB / 489.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1173, allocations: 31.97 kB / 489.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1174, allocations: 70.48 kB / 489.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.1177, allocations: 82.53 kB / 489.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1177, allocations: 0 / 489.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000322/0.118, allocations: 137.5 kB / 489.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.118, allocations: 4 kB / 489.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.118, allocations: 7.938 kB / 489.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.118, allocations: 0 / 489.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.1182, allocations: 35.91 kB / 489.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1182, allocations: 0 / 489.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.1183, allocations: 15.89 kB / 489.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1183, allocations: 4 kB / 489.4 MB, free: 9.02 MB / 350.1 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 (13): * Single equations (assignments): 13 * 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.0001214/0.1185, allocations: 129.8 kB / 489.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.1185, allocations: 11.89 kB / 489.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.1185, allocations: 21.34 kB / 489.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1185, allocations: 0 / 489.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1186, allocations: 0 / 489.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1186, allocations: 0 / 489.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.1192, allocations: 407.2 kB / 490 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1192, allocations: 0 / 490 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.1194, allocations: 35.91 kB / 490 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1194, allocations: 0 / 490 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1194, allocations: 4 kB / 490 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.1207, allocations: 1.393 MB / 491.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1207, allocations: 7.938 kB / 491.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.1211, allocations: 244.5 kB / 491.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.782e-05/0.1212, allocations: 89.05 kB / 491.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1212, allocations: 4 kB / 491.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1213, allocations: 7.984 kB / 491.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.1213, allocations: 8 kB / 491.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1213, allocations: 4 kB / 491.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1215, allocations: 132.3 kB / 491.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1215, allocations: 0 / 491.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1217, allocations: 27.89 kB / 491.9 MB, free: 6.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (tank.l) * 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 (6): * Single equations (assignments): 5 * 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.0001198/0.1219, allocations: 103.2 kB / 492 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.1222, allocations: 80 kB / 492.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1222, allocations: 0 / 492.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.1224, allocations: 51.89 kB / 492.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.1229, allocations: 43.47 kB / 492.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.1236, allocations: 335.8 kB / 492.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.124, allocations: 0.7119 MB / 493.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.754e-05/0.1241, allocations: 12.88 kB / 493.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.1241, allocations: 11.44 kB / 493.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1241, allocations: 4 kB / 493.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of Templates: time 0.004994/0.1291, allocations: 1.508 MB / 494.8 MB, free: 3.41 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.502447161823511] Failed to read output from testmodel.py, exit status != 0: 0.13703372981399298 0.152538726 0.036441379 Calling exit ...