Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_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.SteadyState_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 111.5 kB / 16.45 MB, free: 5.652 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.001892/0.001892, allocations: 195.6 kB / 17.43 MB, free: 5.023 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.478/1.478, allocations: 225.6 MB / 243.8 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008193/0.008193, allocations: 1.351 MB / 298.1 MB, free: 10.3 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003071/0.003071, allocations: 67.89 kB / 418.5 MB, free: 21.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.108, allocations: 52.45 MB / 471 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.003108/0.1111, allocations: 1.654 MB / 472.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.1121, allocations: 0.5221 MB / 473.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.679e-05/0.1122, allocations: 7.938 kB / 473.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.1123, allocations: 15.86 kB / 473.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.469e-05/0.1124, allocations: 27.78 kB / 473.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1126, allocations: 79.84 kB / 473.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.1128, allocations: 111.6 kB / 473.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.113, allocations: 29.33 kB / 473.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.113, allocations: 43.73 kB / 473.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.156e-05/0.1131, allocations: 35.78 kB / 473.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.1132, allocations: 8 kB / 473.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.1132, allocations: 8 kB / 473.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.1132, allocations: 15.92 kB / 473.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.629e-05/0.1133, allocations: 43.75 kB / 473.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.1134, allocations: 91.56 kB / 473.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1134, allocations: 0 / 473.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1134, allocations: 0 / 473.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1134, allocations: 0 / 473.7 MB, free: 14.42 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006109/0.1141, allocations: 414.8 kB / 474.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1141, allocations: 15.89 kB / 474.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.1141, allocations: 12.84 kB / 474.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.1144, allocations: 206.6 kB / 474.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1144, allocations: 8.375 kB / 474.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.1144, allocations: 20.02 kB / 474.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.1146, allocations: 88.25 kB / 474.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1146, allocations: 0 / 474.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1146, allocations: 4 kB / 474.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1147, allocations: 4 kB / 474.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.895e-05/0.1147, allocations: 31.92 kB / 474.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.1154, allocations: 0.5165 MB / 475 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.01e-05/0.1155, allocations: 30.58 kB / 475 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.659e-05/0.1156, allocations: 16.94 kB / 475 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.1156, allocations: 4 kB / 475 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1156, allocations: 38.44 kB / 475.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1156, allocations: 0 / 475.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001836/0.1158, allocations: 57.64 kB / 475.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.1158, allocations: 51.41 kB / 475.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.116, allocations: 178.3 kB / 475.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.116, allocations: 25.7 kB / 475.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.1161, allocations: 123.9 kB / 475.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.1161, allocations: 7.953 kB / 475.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.1162, allocations: 41.66 kB / 475.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1164, allocations: 322.8 kB / 475.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.29e-05/0.1164, allocations: 23.88 kB / 475.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/0.1165, allocations: 84.2 kB / 476 MB, free: 11.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1166, allocations: 107.6 kB / 476.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1166, allocations: 0 / 476.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001956/0.1168, allocations: 129.7 kB / 476.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1169, allocations: 7.938 kB / 476.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1169, allocations: 4 kB / 476.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1169, allocations: 3.984 kB / 476.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.117, allocations: 31.98 kB / 476.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.117, allocations: 8.156 kB / 476.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.1171, allocations: 19.88 kB / 476.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1171, allocations: 4 kB / 476.3 MB, free: 11.53 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (16): * Single equations (assignments): 16 * 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.000105/0.1172, allocations: 126.4 kB / 476.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.1172, allocations: 19.78 kB / 476.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.1173, allocations: 8.938 kB / 476.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1173, allocations: 4 kB / 476.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1173, allocations: 0 / 476.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1173, allocations: 0 / 476.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.1176, allocations: 327.3 kB / 476.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1177, allocations: 0 / 476.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.636e-05/0.1177, allocations: 8 kB / 476.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1177, allocations: 0 / 476.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1177, allocations: 11.92 kB / 476.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1177, allocations: 0 / 476.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1177, allocations: 0 / 476.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.1179, allocations: 172.3 kB / 476.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.118, allocations: 85.09 kB / 477 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.118, allocations: 3.984 kB / 477 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.08e-05/0.1181, allocations: 4 kB / 477 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.1181, allocations: 4 kB / 477 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1181, allocations: 0 / 477 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.1182, allocations: 124.2 kB / 477.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1182, allocations: 4.062 kB / 477.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1185, allocations: 20 kB / 477.2 MB, free: 10.52 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 (3): * Single equations (assignments): 3 * 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.0001025/0.1186, allocations: 107.1 kB / 477.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.1187, allocations: 51.97 kB / 477.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1187, allocations: 0 / 477.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.93e-05/0.1187, allocations: 11.94 kB / 477.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.1192, allocations: 54.05 kB / 477.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.1197, allocations: 279.2 kB / 477.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.12, allocations: 0.7002 MB / 478.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.763e-05/0.12, allocations: 8.875 kB / 478.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.1201, allocations: 15.44 kB / 478.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1201, allocations: 4 kB / 478.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of Templates: time 0.003804/0.1239, allocations: 1.062 MB / 479.5 MB, free: 8.219 MB / 350.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1)