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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 214.6 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo): time 0.008466/0.008466, allocations: 1.34 MB / 313.8 MB, free: 1.68 MB / 238.1 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,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=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD") [Timeout 660] "Notification: BoundaryInitBlocks requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 68.19 kB / 440.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1121, allocations: 53.67 MB / 494.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.004104/0.1162, allocations: 1.642 MB / 495.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1177, allocations: 0.5261 MB / 496.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.1179, allocations: 4 kB / 496.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.1181, allocations: 19.8 kB / 496.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.1182, allocations: 27.78 kB / 496.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.1185, allocations: 75.84 kB / 496.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.1188, allocations: 127.6 kB / 496.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.119, allocations: 37.59 kB / 496.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.309e-05/0.1191, allocations: 47.72 kB / 496.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.785e-05/0.1192, allocations: 35.78 kB / 496.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1192, allocations: 12 kB / 496.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.977e-05/0.1192, allocations: 8 kB / 496.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.1192, allocations: 15.94 kB / 496.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.1193, allocations: 43.67 kB / 496.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.1195, allocations: 99.55 kB / 497 MB, free: 3.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1195, allocations: 0 / 497 MB, free: 3.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1195, allocations: 0 / 497 MB, free: 3.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1195, allocations: 0 / 497 MB, free: 3.133 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.0005852/0.1201, allocations: 337.8 kB / 497.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1201, allocations: 12.03 kB / 497.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.1202, allocations: 16.84 kB / 497.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1204, allocations: 146.9 kB / 497.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1204, allocations: 4.375 kB / 497.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.1204, allocations: 16.12 kB / 497.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1206, allocations: 96.47 kB / 497.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1206, allocations: 7.875 kB / 497.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1206, allocations: 4 kB / 497.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1206, allocations: 7.938 kB / 497.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.233e-05/0.1207, allocations: 31.98 kB / 497.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.1214, allocations: 396.3 kB / 498.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1216, allocations: 54.58 kB / 498.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.52e-05/0.1216, allocations: 16.98 kB / 498.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.1217, allocations: 0 / 498.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.1217, allocations: 38.55 kB / 498.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.1217, allocations: 4 kB / 498.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002124/0.1219, allocations: 73.58 kB / 498.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.122, allocations: 51.41 kB / 498.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.1221, allocations: 162.3 kB / 498.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1222, allocations: 33.7 kB / 498.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1223, allocations: 119.9 kB / 498.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.1223, allocations: 19.89 kB / 498.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.1223, allocations: 37.59 kB / 498.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1225, allocations: 318.8 kB / 499 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.1226, allocations: 15.98 kB / 499 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.925e-05/0.1227, allocations: 69.25 kB / 499 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.1228, allocations: 85.95 kB / 499.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1228, allocations: 0 / 499.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002015/0.123, allocations: 113.4 kB / 499.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.123, allocations: 8 kB / 499.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.123, allocations: 3.938 kB / 499.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.1231, allocations: 4 kB / 499.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.1232, allocations: 27.98 kB / 499.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.1232, allocations: 12.08 kB / 499.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.1233, allocations: 15.89 kB / 499.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1233, allocations: 4 kB / 499.3 MB, free: 0.5977 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.0001341/0.1234, allocations: 117.8 kB / 499.4 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.1234, allocations: 8.266 kB / 499.4 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.1235, allocations: 16.34 kB / 499.5 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1235, allocations: 0 / 499.5 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.1235, allocations: 4 kB / 499.5 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1235, allocations: 7.984 kB / 499.5 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.1239, allocations: 290.9 kB / 499.8 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1239, allocations: 3.938 kB / 499.8 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.124, allocations: 19.98 kB / 499.8 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.124, allocations: 0 / 499.8 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.124, allocations: 4 kB / 499.8 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.124, allocations: 0 / 499.8 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.124, allocations: 3.938 kB / 499.8 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.1243, allocations: 184.2 kB / 500 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.1244, allocations: 19.91 kB / 500 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.1244, allocations: 0 / 500 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.1244, allocations: 96 / 500 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.1245, allocations: 8 kB / 500 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.1245, allocations: 3.984 kB / 500 MB, free: 15.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1246, allocations: 112.1 kB / 0.4884 GB, free: 15.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1246, allocations: 0 / 0.4884 GB, free: 15.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1248, allocations: 23.95 kB / 0.4884 GB, free: 15.72 MB / 366.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.0001308/0.125, allocations: 99.23 kB / 0.4885 GB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.1251, allocations: 55.86 kB / 0.4886 GB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1251, allocations: 320 / 0.4886 GB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.679e-05/0.1251, allocations: 16 kB / 0.4886 GB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.1256, allocations: 43.47 kB / 0.4886 GB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006079/0.1262, allocations: 292.3 kB / 0.4889 GB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.1263, allocations: 89.05 kB / 0.489 GB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.134e-05/0.1264, allocations: 12.48 kB / 0.489 GB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.1264, allocations: 15.44 kB / 0.489 GB, free: 15.06 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1264, allocations: 0 / 0.489 GB, free: 15.06 MB / 366.1 MB Notification: Performance of Templates: time 0.004514/0.1309, allocations: 1.297 MB / 0.4903 GB, free: 13.82 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.makefile [Timeout 660] (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 -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.871609790250659] Failed to read output from testmodel.py, exit status != 0: 0.13917851634323597 0.36169062199999996 0.041244069 Calling exit ...