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.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.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,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=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001501/0.001501, allocations: 194.1 kB / 16.14 MB, free: 6.719 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008176/0.008176, allocations: 1.338 MB / 291.3 MB, free: 1.242 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.91 kB / 354.5 MB, free: 4.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1119, allocations: 49.74 MB / 404.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.003621/0.1155, allocations: 2.028 MB / 406.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009782/0.1165, allocations: 0.565 MB / 406.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.703e-05/0.1166, allocations: 0 / 406.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.1168, allocations: 19.86 kB / 406.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.106e-05/0.1169, allocations: 27.72 kB / 406.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1171, allocations: 79.91 kB / 407 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.1174, allocations: 179.3 kB / 407.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.1176, allocations: 53.59 kB / 407.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.236e-05/0.1177, allocations: 55.73 kB / 407.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1178, allocations: 67.62 kB / 407.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.1178, allocations: 8 kB / 407.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.693e-05/0.1179, allocations: 8 kB / 407.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.1179, allocations: 31.84 kB / 407.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.22e-05/0.118, allocations: 75.48 kB / 407.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1182, allocations: 143.4 kB / 407.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1182, allocations: 0 / 407.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1182, allocations: 0 / 407.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1182, allocations: 0 / 407.6 MB, free: 15.2 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.0007849/0.119, allocations: 462.8 kB / 408 MB, free: 14.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1191, allocations: 12.03 kB / 408.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.1191, allocations: 24.73 kB / 408.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.1194, allocations: 216 kB / 408.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1194, allocations: 8.375 kB / 408.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.1195, allocations: 12.38 kB / 408.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.1198, allocations: 135.6 kB / 408.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1198, allocations: 0 / 408.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.1198, allocations: 4 kB / 408.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.1199, allocations: 4 kB / 408.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.12, allocations: 63.97 kB / 408.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009143/0.121, allocations: 0.5433 MB / 409.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1212, allocations: 86.55 kB / 409.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.623e-05/0.1213, allocations: 40.84 kB / 409.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1213, allocations: 0 / 409.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1213, allocations: 42.62 kB / 409.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.1214, allocations: 3.938 kB / 409.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004124/0.1218, allocations: 125.5 kB / 409.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.1218, allocations: 55.34 kB / 409.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.122, allocations: 190.2 kB / 409.6 MB, free: 13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1221, allocations: 25.7 kB / 409.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.1222, allocations: 128.2 kB / 409.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.1222, allocations: 27.56 kB / 409.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.1223, allocations: 41.7 kB / 409.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1224, allocations: 322.8 kB / 410.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.241e-05/0.1225, allocations: 35.97 kB / 410.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1226, allocations: 54.94 kB / 410.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.1228, allocations: 100.9 kB / 410.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1228, allocations: 4 kB / 410.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002685/0.1231, allocations: 149.3 kB / 410.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1231, allocations: 7.938 kB / 410.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1231, allocations: 4 kB / 410.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1232, allocations: 0 / 410.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.1234, allocations: 39.97 kB / 410.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1234, allocations: 8 kB / 410.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.309e-05/0.1235, allocations: 19.84 kB / 410.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.1235, allocations: 4 kB / 410.5 MB, free: 12 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 (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 0.00011/0.1236, allocations: 121.8 kB / 410.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.1236, allocations: 15.75 kB / 410.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.1237, allocations: 21.39 kB / 410.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1237, allocations: 0 / 410.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1237, allocations: 0 / 410.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1237, allocations: 0 / 410.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.1242, allocations: 423.2 kB / 411.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1243, allocations: 0 / 411.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.1245, allocations: 31.97 kB / 411.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.1245, allocations: 4 kB / 411.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1246, allocations: 0 / 411.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.1257, allocations: 1.31 MB / 412.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1257, allocations: 0 / 412.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.126, allocations: 252.2 kB / 412.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.1261, allocations: 93.03 kB / 412.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.1261, allocations: 4 kB / 412.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.582e-05/0.1262, allocations: 7.984 kB / 412.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.1263, allocations: 7.875 kB / 412.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.1263, allocations: 4 kB / 412.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1264, allocations: 140.3 kB / 413 MB, free: 9.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1264, allocations: 0 / 413 MB, free: 9.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1267, allocations: 35.84 kB / 413 MB, free: 9.316 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.0001057/0.1268, allocations: 103.2 kB / 413.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.127, allocations: 87.89 kB / 413.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.127, allocations: 0 / 413.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.1272, allocations: 52.03 kB / 413.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.1277, allocations: 56.14 kB / 413.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007796/0.1285, allocations: 435.4 kB / 413.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.1289, allocations: 0.7127 MB / 414.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.282e-05/0.1289, allocations: 17.08 kB / 414.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.129, allocations: 15.44 kB / 414.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.129, allocations: 3.938 kB / 414.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of Templates: time 0.004678/0.1337, allocations: 1.494 MB / 415.9 MB, free: 6.336 MB / 350.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.makefile (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 -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1)