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 -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.001948/0.001948, allocations: 117.6 kB / 16.46 MB, free: 5.176 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.00196/0.00196, allocations: 196.8 kB / 17.43 MB, free: 4.695 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.48/1.48, allocations: 225.6 MB / 243.8 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008295/0.008295, allocations: 1.34 MB / 298.1 MB, free: 10.31 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.89 kB / 418.6 MB, free: 21.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1079, allocations: 52.44 MB / 471 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.004282/0.1122, allocations: 1.969 MB / 473 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1134, allocations: 0.5728 MB / 473.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1135, allocations: 4 kB / 473.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1137, allocations: 31.72 kB / 473.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.084e-05/0.1138, allocations: 35.72 kB / 473.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.1141, allocations: 95.8 kB / 473.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.1144, allocations: 179.3 kB / 473.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.1146, allocations: 49.59 kB / 473.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1147, allocations: 67.66 kB / 474 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.1148, allocations: 59.7 kB / 474.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.1148, allocations: 12 kB / 474.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.689e-05/0.1149, allocations: 15.94 kB / 474.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.1149, allocations: 27.86 kB / 474.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.038e-05/0.115, allocations: 83.53 kB / 474.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.1153, allocations: 147.3 kB / 474.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1153, allocations: 0 / 474.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1153, allocations: 0 / 474.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.1153, allocations: 0 / 474.3 MB, free: 13.74 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.0008047/0.1161, allocations: 478.5 kB / 474.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1161, allocations: 11.89 kB / 474.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.1162, allocations: 16.84 kB / 474.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.1166, allocations: 232.6 kB / 475.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1166, allocations: 12.38 kB / 475.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.1166, allocations: 12.38 kB / 475.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.1169, allocations: 129.2 kB / 475.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1169, allocations: 0 / 475.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.117, allocations: 4 kB / 475.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.117, allocations: 4 kB / 475.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.1171, allocations: 71.89 kB / 475.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008765/0.118, allocations: 0.5317 MB / 475.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.1182, allocations: 82.5 kB / 475.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.1183, allocations: 40.84 kB / 476 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1183, allocations: 3.984 kB / 476 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1184, allocations: 46.44 kB / 476 MB, free: 11.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.1184, allocations: 0 / 476 MB, free: 11.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003371/0.1187, allocations: 121.7 kB / 476.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.1188, allocations: 55.41 kB / 476.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.119, allocations: 182.4 kB / 476.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.119, allocations: 25.7 kB / 476.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.1191, allocations: 124.4 kB / 476.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.1191, allocations: 31.73 kB / 476.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.1192, allocations: 45.59 kB / 476.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1194, allocations: 330.8 kB / 476.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.92e-05/0.1194, allocations: 31.98 kB / 476.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1195, allocations: 62.55 kB / 477 MB, free: 10.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.1197, allocations: 91.34 kB / 477.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1197, allocations: 0 / 477.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002627/0.12, allocations: 157.4 kB / 477.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.12, allocations: 8.062 kB / 477.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.12, allocations: 0 / 477.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.12, allocations: 4 kB / 477.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.1202, allocations: 31.98 kB / 477.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1202, allocations: 3.984 kB / 477.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.1203, allocations: 19.89 kB / 477.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1203, allocations: 4 kB / 477.3 MB, free: 10.54 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.0001269/0.1204, allocations: 133.7 kB / 477.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.1205, allocations: 23.84 kB / 477.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.1205, allocations: 13.41 kB / 477.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1205, allocations: 4 kB / 477.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1205, allocations: 0 / 477.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1205, allocations: 0 / 477.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.1211, allocations: 423.2 kB / 477.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1211, allocations: 4 kB / 477.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.1213, allocations: 27.98 kB / 477.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1213, allocations: 4.031 kB / 477.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.1213, allocations: 11.98 kB / 477.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.1225, allocations: 1.401 MB / 479.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1225, allocations: 0 / 479.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.1229, allocations: 252.2 kB / 479.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.123, allocations: 97.02 kB / 479.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.123, allocations: 3.938 kB / 479.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.1231, allocations: 4 kB / 479.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.1232, allocations: 11.98 kB / 479.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.1232, allocations: 0 / 479.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1233, allocations: 140.3 kB / 479.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1233, allocations: 3.938 kB / 479.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1235, allocations: 27.95 kB / 479.9 MB, free: 7.738 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.0001448/0.1237, allocations: 107.2 kB / 480 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.1239, allocations: 75.91 kB / 480 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1239, allocations: 0 / 480 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.1241, allocations: 47.91 kB / 480.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.1246, allocations: 53.48 kB / 480.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000765/0.1253, allocations: 392.8 kB / 480.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.1257, allocations: 0.7202 MB / 481.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.868e-05/0.1258, allocations: 21.08 kB / 481.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.1258, allocations: 15.44 kB / 481.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1258, allocations: 0 / 481.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of Templates: time 0.005085/0.1309, allocations: 1.642 MB / 482.9 MB, free: 4.672 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 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1)