Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_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.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 113.8 kB / 16.45 MB, free: 5.188 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.001272/0.001272, allocations: 200.2 kB / 17.44 MB, free: 4.707 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.471/1.471, allocations: 225.6 MB / 243.9 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.008273/0.008273, allocations: 1.351 MB / 298.1 MB, free: 10.29 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003517/0.003517, allocations: 63.89 kB / 419.3 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1181, allocations: 52.44 MB / 471.7 MB, free: 376 kB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.003562/0.1217, allocations: 1.681 MB / 473.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1228, allocations: 0.5182 MB / 473.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.1228, allocations: 4 kB / 473.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.123, allocations: 23.73 kB / 474 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.979e-05/0.1231, allocations: 27.78 kB / 474 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.1234, allocations: 79.84 kB / 474.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.1236, allocations: 127.6 kB / 474.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.1237, allocations: 33.42 kB / 474.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.2e-05/0.1238, allocations: 39.8 kB / 474.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.664e-05/0.1239, allocations: 43.66 kB / 474.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1239, allocations: 8 kB / 474.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.745e-05/0.1239, allocations: 8 kB / 474.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.078e-05/0.1239, allocations: 23.92 kB / 474.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.124, allocations: 47.73 kB / 474.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.1242, allocations: 99.5 kB / 474.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1242, allocations: 0 / 474.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1242, allocations: 0 / 474.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1242, allocations: 0 / 474.5 MB, free: 13.6 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000566/0.1248, allocations: 418.9 kB / 474.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1248, allocations: 15.89 kB / 474.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.1248, allocations: 8.891 kB / 474.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1251, allocations: 214.9 kB / 475.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1251, allocations: 4.375 kB / 475.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.1251, allocations: 16.12 kB / 475.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.1253, allocations: 98.75 kB / 475.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1253, allocations: 0 / 475.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1254, allocations: 4 kB / 475.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1254, allocations: 0 / 475.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.979e-05/0.1255, allocations: 35.98 kB / 475.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007867/0.1263, allocations: 464.7 kB / 475.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.1265, allocations: 62.56 kB / 475.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.1265, allocations: 16.98 kB / 475.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.1265, allocations: 4 kB / 475.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1266, allocations: 38.5 kB / 475.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1266, allocations: 0 / 475.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002235/0.1268, allocations: 73.58 kB / 475.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.1268, allocations: 55.41 kB / 476 MB, free: 11.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.127, allocations: 163.7 kB / 476.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.127, allocations: 29.64 kB / 476.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1271, allocations: 124 kB / 476.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.1272, allocations: 23.8 kB / 476.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.1272, allocations: 25.72 kB / 476.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1274, allocations: 322.8 kB / 476.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.33e-05/0.1274, allocations: 19.98 kB / 476.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-05/0.1275, allocations: 65.62 kB / 476.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1276, allocations: 85.89 kB / 476.8 MB, free: 11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1276, allocations: 0 / 476.8 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000202/0.1278, allocations: 121.5 kB / 477 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1279, allocations: 7.938 kB / 477 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1279, allocations: 7.984 kB / 477 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1279, allocations: 3.938 kB / 477 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.128, allocations: 31.92 kB / 477 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.128, allocations: 3.984 kB / 477 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.236e-05/0.1281, allocations: 15.89 kB / 477 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1281, allocations: 4 kB / 477 MB, free: 10.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 13 * 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.0001007/0.1282, allocations: 129.9 kB / 477.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.1282, allocations: 11.89 kB / 477.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.1282, allocations: 12.25 kB / 477.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1282, allocations: 4 kB / 477.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1282, allocations: 0 / 477.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1282, allocations: 0 / 477.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.1286, allocations: 347.3 kB / 477.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1286, allocations: 0 / 477.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1287, allocations: 24.23 kB / 477.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1288, allocations: 4.031 kB / 477.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1288, allocations: 4 kB / 477.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1288, allocations: 4 kB / 477.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1288, allocations: 0 / 477.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.129, allocations: 180.3 kB / 477.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.129, allocations: 93.05 kB / 477.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.129, allocations: 64 / 477.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-05/0.1291, allocations: 8 kB / 477.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.1291, allocations: 7.922 kB / 477.8 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.1291, allocations: 4 kB / 477.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.112e-05/0.1292, allocations: 119.2 kB / 478 MB, free: 9.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1292, allocations: 0 / 478 MB, free: 9.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1295, allocations: 19.94 kB / 478 MB, free: 9.742 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 (5): * Single equations (assignments): 5 * 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.0001057/0.1296, allocations: 99.25 kB / 478.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.1297, allocations: 47.92 kB / 478.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1297, allocations: 0 / 478.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.783e-05/0.1298, allocations: 15.94 kB / 478.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.1302, allocations: 43.08 kB / 478.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.1308, allocations: 303.5 kB / 478.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1311, allocations: 0.7002 MB / 479.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.66e-05/0.1311, allocations: 12.5 kB / 479.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.1312, allocations: 15.44 kB / 479.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1312, allocations: 0 / 479.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of Templates: time 0.004151/0.1353, allocations: 1.129 MB / 480.3 MB, free: 7.371 MB / 350.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD -l=1 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1)