Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.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.InvertibleConfig.CL_Simulation_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.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.001679/0.001679, allocations: 112.9 kB / 16.46 MB, free: 5.637 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.001886/0.001886, allocations: 201.2 kB / 17.44 MB, free: 5.008 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.509/1.509, 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.008207/0.008207, allocations: 1.341 MB / 298.1 MB, free: 10.3 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.88 kB / 418.6 MB, free: 21.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09739/0.09929, allocations: 52.45 MB / 471 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD): time 0.003609/0.1029, allocations: 1.988 MB / 473 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1039, allocations: 0.5688 MB / 473.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.104, allocations: 8 kB / 473.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.1042, allocations: 23.73 kB / 473.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.628e-05/0.1043, allocations: 43.64 kB / 473.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.1046, allocations: 87.88 kB / 473.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.1049, allocations: 207.3 kB / 473.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.1051, allocations: 49.59 kB / 474 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.1052, allocations: 67.66 kB / 474.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.1053, allocations: 59.7 kB / 474.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.1053, allocations: 15.94 kB / 474.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.433e-05/0.1053, allocations: 12 kB / 474.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.667e-05/0.1054, allocations: 35.84 kB / 474.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.202e-05/0.1054, allocations: 75.53 kB / 474.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1057, allocations: 147.3 kB / 474.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.1057, allocations: 3.984 kB / 474.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1057, allocations: 0 / 474.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.1057, allocations: 0 / 474.4 MB, free: 13.68 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006921/0.1064, allocations: 474.5 kB / 474.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1064, allocations: 15.89 kB / 474.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.1065, allocations: 16.84 kB / 474.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.1068, allocations: 224.6 kB / 475.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1068, allocations: 8.375 kB / 475.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.1068, allocations: 12.38 kB / 475.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.1071, allocations: 133.2 kB / 475.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1071, allocations: 3.984 kB / 475.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1071, allocations: 0 / 475.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1071, allocations: 8 kB / 475.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.1073, allocations: 63.91 kB / 475.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009481/0.1083, allocations: 0.5356 MB / 475.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.1085, allocations: 86.48 kB / 476 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.244e-05/0.1086, allocations: 40.84 kB / 476 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1086, allocations: 0 / 476 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.1086, allocations: 38.5 kB / 476 MB, free: 11.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.1086, allocations: 0 / 476 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000382/0.109, allocations: 129.6 kB / 476.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.109, allocations: 59.41 kB / 476.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1092, allocations: 174.5 kB / 476.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.1093, allocations: 29.7 kB / 476.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1094, allocations: 124.4 kB / 476.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.1094, allocations: 35.67 kB / 476.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/0.1095, allocations: 41.66 kB / 476.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1096, allocations: 322.8 kB / 476.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.1097, allocations: 52.78 kB / 477 MB, free: 10.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1098, allocations: 63.41 kB / 477.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.11, allocations: 103.4 kB / 477.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.11, allocations: 0 / 477.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002733/0.1103, allocations: 153.1 kB / 477.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1103, allocations: 11.12 kB / 477.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1103, allocations: 0 / 477.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1103, allocations: 0 / 477.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.1106, allocations: 47.91 kB / 477.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.1118, allocations: 1.404 MB / 478.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.188e-05/0.1119, allocations: 23.84 kB / 478.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1119, allocations: 4 kB / 478.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001485/0.1121, allocations: 128.1 kB / 478.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001029/0.1122, allocations: 63.41 kB / 479 MB, free: 8.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001783/0.1124, allocations: 99.42 kB / 479.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.1124, allocations: 0 / 479.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization_lambda0): time 0.0002582/0.1126, allocations: 149.4 kB / 479.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.1126, allocations: 8 kB / 479.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/0.1126, allocations: 0 / 479.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-06/0.1126, allocations: 0 / 479.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.1129, allocations: 52 kB / 479.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.114, allocations: 1.397 MB / 480.7 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.869e-05/0.114, allocations: 11.98 kB / 480.7 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1141, allocations: 8 kB / 480.7 MB, free: 6.832 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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): 17 * 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 prepare postOptimizeDAE: time 0.0001249/0.1142, allocations: 200.1 kB / 480.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.1142, allocations: 15.84 kB / 480.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.1143, allocations: 21.5 kB / 480.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1143, allocations: 0 / 480.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.1143, allocations: 4.375 kB / 480.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1143, allocations: 0 / 480.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.1148, allocations: 427.1 kB / 481.4 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1148, allocations: 0 / 481.4 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.115, allocations: 39.86 kB / 481.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.115, allocations: 7.969 kB / 481.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.115, allocations: 4 kB / 481.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.1163, allocations: 1.409 MB / 482.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1163, allocations: 0 / 482.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.1166, allocations: 236.2 kB / 483 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.453e-05/0.1167, allocations: 105.2 kB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.1167, allocations: 3.938 kB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.1168, allocations: 4 kB / 483.2 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.1169, allocations: 11.98 kB / 483.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.1169, allocations: 0 / 483.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1171, allocations: 131.1 kB / 483.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1171, allocations: 0 / 483.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.1174, allocations: 59.89 kB / 483.3 MB, free: 3.938 MB / 350.1 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.0001251/0.1176, allocations: 103.2 kB / 483.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005375/0.1181, allocations: 163.7 kB / 483.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1181, allocations: 0 / 483.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.1183, allocations: 44.41 kB / 483.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.1187, allocations: 60.61 kB / 483.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/0.1195, allocations: 404.8 kB / 484.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.1198, allocations: 0.7203 MB / 484.8 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.398e-05/0.1199, allocations: 21.11 kB / 484.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.12, allocations: 15.44 kB / 484.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.12, allocations: 0 / 484.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of Templates: time 0.005184/0.1251, allocations: 1.813 MB / 486.7 MB, free: 0.6055 MB / 350.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD.pipe 2>&1)