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.0008189/0.0008189, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.0008485/0.0008485, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.8509/0.8509, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.00407/0.00407, allocations: 1.02 MB / 261 MB, free: 12.32 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 387.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.251e-05, allocations: 2.281 kB / 387.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.002913/0.002946, allocations: 1.656 MB / 389.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009892/0.003935, allocations: 0.526 MB / 390.1 MB, free: 8.648 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.004011, allocations: 4 kB / 390.1 MB, free: 8.645 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.00419, allocations: 15.8 kB / 390.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.282e-05/0.004232, allocations: 27.78 kB / 390.2 MB, free: 8.602 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.00447, allocations: 83.77 kB / 390.2 MB, free: 8.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.004655, allocations: 135.5 kB / 390.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.004807, allocations: 29.61 kB / 390.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.325e-05/0.00489, allocations: 59.81 kB / 390.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.399e-05/0.004964, allocations: 27.91 kB / 390.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.004993, allocations: 11.94 kB / 390.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.005005, allocations: 8 kB / 390.5 MB, free: 8.246 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.005034, allocations: 23.91 kB / 390.5 MB, free: 8.223 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.005074, allocations: 31.86 kB / 390.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.005216, allocations: 95.67 kB / 390.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.005219, allocations: 0 / 390.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.00522, allocations: 0 / 390.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.005224, allocations: 0 / 390.7 MB, free: 8.098 MB / 362.7 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.0004999/0.005724, allocations: 345.7 kB / 391 MB, free: 7.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.005764, allocations: 12.03 kB / 391 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.005813, allocations: 16.84 kB / 391 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.006007, allocations: 141.2 kB / 391.2 MB, free: 7.543 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.00602, allocations: 4.375 kB / 391.2 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.006048, allocations: 12.38 kB / 391.2 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.006195, allocations: 95.88 kB / 391.3 MB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.006204, allocations: 3.938 kB / 391.3 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.006216, allocations: 4 kB / 391.3 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.006221, allocations: 0 / 391.3 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.019e-05/0.006291, allocations: 35.98 kB / 391.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.006879, allocations: 404.2 kB / 391.7 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.007065, allocations: 58.58 kB / 391.8 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.007096, allocations: 16.98 kB / 391.8 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.007111, allocations: 0 / 391.8 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.007131, allocations: 30.56 kB / 391.8 MB, free: 6.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.007132, allocations: 0 / 391.8 MB, free: 6.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001998/0.007331, allocations: 73.83 kB / 391.9 MB, free: 6.746 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.007371, allocations: 59.34 kB / 391.9 MB, free: 6.676 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.007535, allocations: 171 kB / 392.1 MB, free: 6.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.007546, allocations: 25.7 kB / 392.1 MB, free: 6.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.007606, allocations: 131.8 kB / 392.3 MB, free: 6.336 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.007621, allocations: 15.84 kB / 392.3 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.007659, allocations: 37.66 kB / 392.3 MB, free: 6.277 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.007764, allocations: 314.8 kB / 392.6 MB, free: 5.961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/0.007798, allocations: 19.98 kB / 392.6 MB, free: 5.941 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.407e-05/0.007852, allocations: 62 kB / 392.7 MB, free: 5.859 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.873e-05/0.007951, allocations: 89.94 kB / 392.8 MB, free: 5.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.007955, allocations: 4 kB / 392.8 MB, free: 5.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002179/0.008173, allocations: 109.5 kB / 392.9 MB, free: 5.633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.008188, allocations: 6.344 kB / 392.9 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.008195, allocations: 7.984 kB / 392.9 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.008209, allocations: 0 / 392.9 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.008298, allocations: 28.14 kB / 392.9 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.008309, allocations: 15.88 kB / 393 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.322e-05/0.008342, allocations: 11.89 kB / 393 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-06/0.008349, allocations: 4 kB / 393 MB, free: 5.562 MB / 362.7 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 7.975e-05/0.008429, allocations: 117.8 kB / 393.1 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.008446, allocations: 7.953 kB / 393.1 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.008473, allocations: 12.47 kB / 393.1 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.008475, allocations: 0 / 393.1 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.008481, allocations: 3.938 kB / 393.1 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.008487, allocations: 3.984 kB / 393.1 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.008763, allocations: 294.9 kB / 393.4 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.008765, allocations: 0 / 393.4 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-05/0.008836, allocations: 23.92 kB / 393.4 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.008839, allocations: 0 / 393.4 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.008851, allocations: 7.938 kB / 393.4 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008852, allocations: 0 / 393.4 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.008855, allocations: 7.938 kB / 393.4 MB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.009009, allocations: 180.5 kB / 393.6 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.009034, allocations: 11.97 kB / 393.6 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.00905, allocations: 7.938 kB / 393.6 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.44e-05/0.009084, allocations: 4.094 kB / 393.6 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.009101, allocations: 7.984 kB / 393.7 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.009105, allocations: 4 kB / 393.7 MB, free: 4.816 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.445e-05/0.009159, allocations: 107.3 kB / 393.8 MB, free: 4.711 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009159, allocations: 0 / 393.8 MB, free: 4.711 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.009323, allocations: 23.95 kB / 393.8 MB, free: 4.688 MB / 362.7 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.066e-05/0.009414, allocations: 107.2 kB / 393.9 MB, free: 4.574 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.009526, allocations: 47.92 kB / 393.9 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.009528, allocations: 4.312 kB / 393.9 MB, free: 4.523 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.009545, allocations: 12 kB / 394 MB, free: 4.512 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.00986, allocations: 45.36 kB / 394 MB, free: 4.469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/0.01046, allocations: 284.3 kB / 394.3 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.295e-05/0.01053, allocations: 93.17 kB / 394.4 MB, free: 4.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.01055, allocations: 12.5 kB / 394.4 MB, free: 4.031 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01055, allocations: 0 / 394.4 MB, free: 4.031 MB / 362.7 MB Notification: Performance of Templates: time 0.002543/0.0131, allocations: 1.347 MB / 395.7 MB, free: 2.688 MB / 362.7 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.187089525163174] Failed to read output from testmodel.py, exit status != 0: 0.01963882613927126 0.027059802 0.019906534 Calling exit ...