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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 185.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008253/0.008253, allocations: 1.353 MB / 307.6 MB, free: 7.375 MB / 238.1 MB " [Timeout remaining time 180] 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=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: Performance of FrontEnd - loaded program: time 0.003085/0.003085, allocations: 67.89 kB / 432.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1364, allocations: 52.48 MB / 484.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.003484/0.1399, allocations: 1.689 MB / 486.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1412, allocations: 0.53 MB / 486.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.1414, allocations: 0 / 486.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.1416, allocations: 19.8 kB / 486.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.1417, allocations: 27.78 kB / 487 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.1421, allocations: 83.78 kB / 487 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.1425, allocations: 127.6 kB / 487.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.1427, allocations: 37.55 kB / 487.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1428, allocations: 43.8 kB / 487.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1429, allocations: 43.72 kB / 487.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.1429, allocations: 8 kB / 487.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.361e-05/0.143, allocations: 8 kB / 487.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.143, allocations: 19.92 kB / 487.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.173e-05/0.1431, allocations: 47.67 kB / 487.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.1434, allocations: 103.5 kB / 487.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1434, allocations: 0 / 487.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1434, allocations: 0 / 487.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1434, allocations: 0 / 487.5 MB, free: 11.22 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.0008438/0.1442, allocations: 348 kB / 487.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.1443, allocations: 12.03 kB / 487.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.281e-05/0.1443, allocations: 8.891 kB / 487.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1447, allocations: 146.8 kB / 488 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.1447, allocations: 8.375 kB / 488 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.1447, allocations: 20.12 kB / 488 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.145, allocations: 85.89 kB / 488.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.145, allocations: 11.92 kB / 488.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.145, allocations: 4 kB / 488.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.145, allocations: 0 / 488.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1451, allocations: 35.98 kB / 488.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009129/0.1461, allocations: 435.7 kB / 488.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.1463, allocations: 58.56 kB / 488.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.1463, allocations: 12.98 kB / 488.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1463, allocations: 8 kB / 488.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.1464, allocations: 38.5 kB / 488.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.1464, allocations: 0 / 488.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002565/0.1466, allocations: 73.59 kB / 488.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.1467, allocations: 55.41 kB / 488.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.1469, allocations: 158.3 kB / 489 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1469, allocations: 29.7 kB / 489 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.953e-05/0.147, allocations: 119.9 kB / 489.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.147, allocations: 19.86 kB / 489.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/0.1471, allocations: 37.64 kB / 489.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1472, allocations: 318.8 kB / 489.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.414e-05/0.1473, allocations: 19.98 kB / 489.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.993e-05/0.1474, allocations: 62 kB / 489.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.1475, allocations: 81.95 kB / 489.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1475, allocations: 3.938 kB / 489.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002002/0.1477, allocations: 121.7 kB / 489.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1477, allocations: 12.09 kB / 489.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1477, allocations: 4 kB / 489.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1477, allocations: 0 / 489.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1479, allocations: 27.98 kB / 489.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.1479, allocations: 11.92 kB / 489.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.1479, allocations: 11.89 kB / 489.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.148, allocations: 8 kB / 489.8 MB, free: 8.629 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.0001098/0.1481, allocations: 113.8 kB / 489.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.1481, allocations: 19.84 kB / 490 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.1481, allocations: 12.41 kB / 490 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.1481, allocations: 8.031 kB / 490 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1482, allocations: 0 / 490 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1482, allocations: 0 / 490 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.1486, allocations: 322.3 kB / 490.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1486, allocations: 0 / 490.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.1487, allocations: 19.98 kB / 490.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.1487, allocations: 4 kB / 490.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1487, allocations: 7.969 kB / 490.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1487, allocations: 0 / 490.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.1487, allocations: 3.984 kB / 490.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.149, allocations: 180.2 kB / 490.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-05/0.149, allocations: 15.94 kB / 490.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.1491, allocations: 4 kB / 490.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.1491, allocations: 3.984 kB / 490.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.1491, allocations: 4.062 kB / 490.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.1492, allocations: 4 kB / 490.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1493, allocations: 116.1 kB / 490.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1493, allocations: 0 / 490.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1495, allocations: 20 kB / 490.7 MB, free: 7.711 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.0001339/0.1497, allocations: 95.25 kB / 490.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.1499, allocations: 56.23 kB / 490.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1499, allocations: 0 / 490.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.517e-05/0.1499, allocations: 15.98 kB / 490.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.1504, allocations: 37.33 kB / 490.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.1511, allocations: 308 kB / 491.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.1515, allocations: 0.704 MB / 491.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.844e-05/0.1515, allocations: 20.47 kB / 491.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.1516, allocations: 11.44 kB / 491.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1516, allocations: 0 / 491.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of Templates: time 0.004554/0.1561, allocations: 1.167 MB / 493.1 MB, free: 5.293 MB / 350.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 -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.593998893164098] Failed to read output from testmodel.py, exit status != 0: 0.16630181297659874 0.179992749 0.033479442000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff49dba97b0>