Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) 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 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS since it seems broken on HelloWorld Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 111.3 kB / 15.23 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002496/0.002496, allocations: 193.7 kB / 16.13 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008079/0.008079, allocations: 1.319 MB / 291.3 MB, free: 1.234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 63.89 kB / 354.5 MB, free: 4.316 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1116, allocations: 49.73 MB / 404.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD): time 0.003789/0.1154, allocations: 1.94 MB / 406.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1165, allocations: 0.5455 MB / 406.8 MB, free: 32 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1167, allocations: 4 kB / 406.8 MB, free: 28 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.1169, allocations: 11.86 kB / 406.8 MB, free: 16 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.962e-05/0.117, allocations: 23.88 kB / 406.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1173, allocations: 71.92 kB / 406.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.1175, allocations: 195.2 kB / 407.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.1177, allocations: 53.88 kB / 407.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.1178, allocations: 43.8 kB / 407.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.988e-05/0.1179, allocations: 55.64 kB / 407.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.118, allocations: 12 kB / 407.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.158e-05/0.118, allocations: 8 kB / 407.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.118, allocations: 31.78 kB / 407.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.538e-05/0.1181, allocations: 63.61 kB / 407.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1183, allocations: 119.6 kB / 407.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1183, allocations: 0 / 407.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1183, allocations: 0 / 407.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1183, allocations: 0 / 407.4 MB, free: 15.35 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006825/0.119, allocations: 467 kB / 407.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1191, allocations: 8.031 kB / 407.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.1191, allocations: 16.75 kB / 407.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1194, allocations: 212.8 kB / 408.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.1194, allocations: 16.55 kB / 408.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.1194, allocations: 12.38 kB / 408.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.1197, allocations: 129.2 kB / 408.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1197, allocations: 0 / 408.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1198, allocations: 8 kB / 408.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1198, allocations: 4 kB / 408.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.12, allocations: 63.95 kB / 408.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008468/0.1208, allocations: 0.5199 MB / 408.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.121, allocations: 78.55 kB / 408.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1211, allocations: 40.83 kB / 409 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1212, allocations: 0 / 409 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.1212, allocations: 34.56 kB / 409 MB, free: 13.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 3.467e-06/0.1212, allocations: 0 / 409 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003642/0.1216, allocations: 117.4 kB / 409.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.1216, allocations: 51.41 kB / 409.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1219, allocations: 187.3 kB / 409.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1219, allocations: 25.7 kB / 409.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.122, allocations: 128.2 kB / 409.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.122, allocations: 31.55 kB / 409.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.1221, allocations: 45.7 kB / 409.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1223, allocations: 322.8 kB / 409.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.1224, allocations: 40.8 kB / 409.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.1226, allocations: 85.06 kB / 410 MB, free: 12.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.1228, allocations: 106.9 kB / 410.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1228, allocations: 0 / 410.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003122/0.1231, allocations: 169.2 kB / 410.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1231, allocations: 8 kB / 410.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1231, allocations: 0 / 410.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1232, allocations: 4 kB / 410.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.1233, allocations: 39.91 kB / 410.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1233, allocations: 0 / 410.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.46e-05/0.1234, allocations: 19.84 kB / 410.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1235, allocations: 4 kB / 410.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001504/0.1236, allocations: 128.3 kB / 410.5 MB, free: 12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001235/0.1237, allocations: 79.88 kB / 410.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001838/0.1239, allocations: 107.5 kB / 410.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.1239, allocations: 7.938 kB / 410.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002849/0.1242, allocations: 161.3 kB / 410.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/0.1243, allocations: 4 kB / 410.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1243, allocations: 11.92 kB / 410.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.868e-06/0.1243, allocations: 8.156 kB / 410.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.1244, allocations: 35.97 kB / 410.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.1244, allocations: 320 / 410.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.1245, allocations: 19.84 kB / 410.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1245, allocations: 4 kB / 410.9 MB, free: 11.53 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 20 * 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.000146/0.1247, allocations: 188.2 kB / 411.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.1247, allocations: 15.75 kB / 411.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.1248, allocations: 21.39 kB / 411.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1248, allocations: 4 kB / 411.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1248, allocations: 0 / 411.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1248, allocations: 3.938 kB / 411.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005626/0.1254, allocations: 399.2 kB / 411.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.1254, allocations: 0 / 411.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.1255, allocations: 23.98 kB / 411.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1255, allocations: 0 / 411.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1255, allocations: 0 / 411.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1256, allocations: 8.031 kB / 411.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1256, allocations: 3.938 kB / 411.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.1259, allocations: 220.1 kB / 411.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.1259, allocations: 93.03 kB / 411.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.126, allocations: 4 kB / 411.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.1261, allocations: 4 kB / 411.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1261, allocations: 12.05 kB / 411.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1261, allocations: 0 / 411.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.1262, allocations: 125.2 kB / 412 MB, free: 10.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1262, allocations: 0 / 412 MB, free: 10.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003434/0.1266, allocations: 63.69 kB / 412.1 MB, free: 10.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 (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 9.212e-05/0.1267, allocations: 107.1 kB / 412.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003295/0.127, allocations: 158.3 kB / 412.4 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.127, allocations: 0 / 412.4 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.943e-05/0.1271, allocations: 27.92 kB / 412.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.1275, allocations: 39.97 kB / 412.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007114/0.1282, allocations: 399.1 kB / 412.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.1286, allocations: 0.7127 MB / 413.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.09e-05/0.1287, allocations: 21.06 kB / 413.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.1287, allocations: 11.44 kB / 413.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1287, allocations: 0 / 413.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of Templates: time 0.003982/0.1327, allocations: 1.223 MB / 414.8 MB, free: 7.566 MB / 350.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe 2>&1)