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 -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.001326/0.001326, allocations: 111 kB / 16.46 MB, free: 5.598 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.001222/0.001222, allocations: 201.2 kB / 17.44 MB, free: 4.984 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.445/1.445, allocations: 225.6 MB / 243.9 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008008/0.008008, allocations: 1.354 MB / 298.1 MB, free: 10.3 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 75.88 kB / 418.6 MB, free: 21.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09337/0.09526, allocations: 52.43 MB / 471 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD): time 0.003669/0.09893, allocations: 1.899 MB / 472.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1001, allocations: 0.5455 MB / 473.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.431e-05/0.1002, allocations: 4 kB / 473.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.1004, allocations: 23.73 kB / 473.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.1005, allocations: 27.73 kB / 473.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1008, allocations: 95.8 kB / 473.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.101, allocations: 187.5 kB / 473.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.1012, allocations: 45.64 kB / 473.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.1013, allocations: 47.8 kB / 473.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1014, allocations: 67.58 kB / 474 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.1014, allocations: 12 kB / 474 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.336e-05/0.1015, allocations: 12 kB / 474 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.1015, allocations: 23.92 kB / 474 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.858e-05/0.1016, allocations: 67.55 kB / 474.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.1018, allocations: 143.2 kB / 474.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1018, allocations: 0 / 474.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1018, allocations: 0 / 474.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1018, allocations: 0 / 474.2 MB, free: 13.89 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.0006778/0.1025, allocations: 458.9 kB / 474.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1025, allocations: 16.03 kB / 474.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.282e-05/0.1026, allocations: 16.84 kB / 474.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.1028, allocations: 226.3 kB / 474.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1029, allocations: 8.609 kB / 474.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.1029, allocations: 12.38 kB / 474.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.1032, allocations: 133.3 kB / 475.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1032, allocations: 3.938 kB / 475.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1032, allocations: 4 kB / 475.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1032, allocations: 8 kB / 475.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.1034, allocations: 64.61 kB / 475.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008009/0.1042, allocations: 0.5084 MB / 475.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.1043, allocations: 78.53 kB / 475.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.017e-05/0.1044, allocations: 36.84 kB / 475.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1045, allocations: 3.984 kB / 475.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1045, allocations: 38.56 kB / 475.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.1045, allocations: 0 / 475.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003085/0.1048, allocations: 109.5 kB / 475.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.1048, allocations: 55.41 kB / 476 MB, free: 11.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.105, allocations: 188.2 kB / 476.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.105, allocations: 29.7 kB / 476.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1052, allocations: 128.3 kB / 476.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.1052, allocations: 31.73 kB / 476.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.1053, allocations: 41.7 kB / 476.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1054, allocations: 322.8 kB / 476.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.649e-05/0.1055, allocations: 44.84 kB / 476.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.1056, allocations: 79.83 kB / 476.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.1058, allocations: 128.2 kB / 476.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1058, allocations: 0 / 476.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002855/0.1061, allocations: 157.4 kB / 477.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1061, allocations: 4 kB / 477.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1062, allocations: 8.156 kB / 477.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1062, allocations: 4 kB / 477.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1063, allocations: 35.98 kB / 477.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1063, allocations: 4 kB / 477.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.476e-05/0.1064, allocations: 19.83 kB / 477.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.1064, allocations: 12 kB / 477.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001542/0.1066, allocations: 124.1 kB / 477.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001079/0.1067, allocations: 81.44 kB / 477.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001771/0.1069, allocations: 104.6 kB / 477.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/0.1069, allocations: 0 / 477.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002628/0.1071, allocations: 173.3 kB / 477.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.1071, allocations: 8 kB / 477.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1071, allocations: 3.984 kB / 477.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-06/0.1071, allocations: 4 kB / 477.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1073, allocations: 31.92 kB / 477.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.1073, allocations: 4 kB / 477.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.1073, allocations: 12.14 kB / 477.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1073, allocations: 12 kB / 477.7 MB, free: 10.06 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.0001137/0.1075, allocations: 188.1 kB / 477.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1075, allocations: 19.84 kB / 477.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.1075, allocations: 13.41 kB / 477.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1075, allocations: 4 kB / 477.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1075, allocations: 0 / 477.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1075, allocations: 3.984 kB / 477.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.108, allocations: 403.2 kB / 478.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.108, allocations: 4 kB / 478.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.1081, allocations: 19.98 kB / 478.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1081, allocations: 0 / 478.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1081, allocations: 0 / 478.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1081, allocations: 0 / 478.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1081, allocations: 3.938 kB / 478.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.1084, allocations: 240.2 kB / 478.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.1085, allocations: 93.02 kB / 478.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1085, allocations: 4 kB / 478.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.1086, allocations: 4 kB / 478.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.1086, allocations: 4 kB / 478.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1086, allocations: 7.984 kB / 478.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.1088, allocations: 128.1 kB / 478.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1088, allocations: 64 / 478.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.1091, allocations: 59.78 kB / 478.9 MB, free: 8.777 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 0.0001031/0.1092, allocations: 103.2 kB / 479 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003339/0.1095, allocations: 139.8 kB / 479.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1095, allocations: 0.625 kB / 479.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.003e-05/0.1096, allocations: 31.98 kB / 479.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.1101, allocations: 40.53 kB / 479.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006516/0.1107, allocations: 359.6 kB / 479.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.1111, allocations: 0.7162 MB / 480.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.937e-05/0.1111, allocations: 13.08 kB / 480.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.1112, allocations: 15.44 kB / 480.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1112, allocations: 0 / 480.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of Templates: time 0.004619/0.1158, allocations: 1.355 MB / 481.6 MB, free: 6.008 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 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe 2>&1)