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.001831/0.001831, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002273/0.002273, allocations: 194.2 kB / 22.17 MB, free: 5.652 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.446/1.446, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.008389/0.008389, allocations: 1.341 MB / 307.5 MB, free: 7.531 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.001905/0.001905, allocations: 71.88 kB / 431.9 MB, free: 18.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08424/0.08615, allocations: 52.43 MB / 484.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.002966/0.08911, allocations: 1.691 MB / 486.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009313/0.09005, allocations: 0.5338 MB / 486.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.09011, allocations: 8 kB / 486.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.09024, allocations: 15.8 kB / 486.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.585e-05/0.0903, allocations: 23.8 kB / 486.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.09056, allocations: 87.81 kB / 486.7 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.09075, allocations: 123.6 kB / 486.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.09088, allocations: 29.44 kB / 486.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.764e-05/0.09094, allocations: 39.8 kB / 486.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.479e-05/0.09103, allocations: 43.72 kB / 487 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.09105, allocations: 8 kB / 487 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.09106, allocations: 8 kB / 487 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.0911, allocations: 27.91 kB / 487 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.09115, allocations: 43.75 kB / 487 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.09131, allocations: 103.4 kB / 487.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.09131, allocations: 0 / 487.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09132, allocations: 0 / 487.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.09132, allocations: 0 / 487.2 MB, free: 11.58 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.000593/0.09191, allocations: 422.9 kB / 487.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.09195, allocations: 11.89 kB / 487.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.092, allocations: 12.89 kB / 487.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.09224, allocations: 204.7 kB / 487.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.09225, allocations: 8.375 kB / 487.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.09229, allocations: 16.12 kB / 487.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.09246, allocations: 94.28 kB / 487.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.09247, allocations: 0 / 487.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.09248, allocations: 8 kB / 487.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.09249, allocations: 0 / 487.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.138e-05/0.09257, allocations: 39.92 kB / 488 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.0932, allocations: 464.7 kB / 488.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.09337, allocations: 58.58 kB / 488.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.09341, allocations: 17.02 kB / 488.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.637e-06/0.09342, allocations: 8 kB / 488.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.09345, allocations: 42.44 kB / 488.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.09345, allocations: 3.938 kB / 488.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001879/0.09364, allocations: 73.59 kB / 488.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.09367, allocations: 51.41 kB / 488.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.09382, allocations: 155.1 kB / 488.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.09383, allocations: 29.7 kB / 488.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.09392, allocations: 116.1 kB / 488.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.09394, allocations: 31.78 kB / 489 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.09399, allocations: 25.72 kB / 489 MB, free: 9.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.09413, allocations: 322.8 kB / 489.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.72e-05/0.09417, allocations: 15.98 kB / 489.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.498e-05/0.09424, allocations: 65.7 kB / 489.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.09436, allocations: 90.19 kB / 489.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.09436, allocations: 0 / 489.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001778/0.09454, allocations: 125.4 kB / 489.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.09455, allocations: 7.938 kB / 489.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.09455, allocations: 0 / 489.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.09457, allocations: 4 kB / 489.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.09469, allocations: 27.98 kB / 489.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.09469, allocations: 0 / 489.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.09475, allocations: 11.89 kB / 489.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.09476, allocations: 8 kB / 489.7 MB, free: 8.797 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 9.879e-05/0.09486, allocations: 129.9 kB / 489.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.09489, allocations: 19.83 kB / 489.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.09492, allocations: 8.312 kB / 489.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.09492, allocations: 0 / 489.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.09492, allocations: 4 kB / 489.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.09492, allocations: 0 / 489.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.09532, allocations: 351.3 kB / 490.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.09532, allocations: 0 / 490.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.09544, allocations: 20.02 kB / 490.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.09544, allocations: 4 kB / 490.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.09545, allocations: 4 kB / 490.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.09545, allocations: 7.938 kB / 490.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09545, allocations: 0 / 490.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.09565, allocations: 180.2 kB / 490.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.09572, allocations: 93.03 kB / 490.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.09573, allocations: 8 kB / 490.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.0958, allocations: 4 kB / 490.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.09582, allocations: 4 kB / 490.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.09582, allocations: 4.109 kB / 490.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.564e-05/0.09591, allocations: 111.3 kB / 490.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09591, allocations: 0 / 490.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.09615, allocations: 19.94 kB / 490.6 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: 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 9.901e-05/0.09625, allocations: 99.23 kB / 490.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.09639, allocations: 59.95 kB / 490.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.09639, allocations: 4 kB / 490.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.197e-05/0.09642, allocations: 16.08 kB / 490.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.09682, allocations: 44.47 kB / 490.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005496/0.09737, allocations: 291.3 kB / 491.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.09772, allocations: 0.7002 MB / 491.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.23e-05/0.09777, allocations: 20.53 kB / 491.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.0978, allocations: 11.44 kB / 491.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.0978, allocations: 0 / 491.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of Templates: time 0.003777/0.1016, allocations: 1.146 MB / 493 MB, free: 5.348 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 -s gbode -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.420498591847718] Failed to read output from testmodel.py, exit status != 0: 0.10832011001184583 0.12320012500000001 0.028937078 Calling exit ...