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.0007595/0.0007595, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008376/0.0008376, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8933/0.8933, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.006376/0.006376, allocations: 1.026 MB / 260.2 MB, free: 12.31 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: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 386.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.909e-05, allocations: 6.219 kB / 386.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.002054/0.002073, allocations: 1.658 MB / 388.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007285/0.002801, allocations: 0.5221 MB / 388.9 MB, free: 9.129 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.002861, allocations: 4 kB / 388.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.002989, allocations: 15.81 kB / 388.9 MB, free: 9.109 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 3.933e-05/0.003028, allocations: 23.8 kB / 388.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.003246, allocations: 79.83 kB / 389 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.003395, allocations: 135.5 kB / 389.1 MB, free: 8.875 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.00352, allocations: 33.59 kB / 389.1 MB, free: 8.836 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.35e-05/0.003584, allocations: 59.81 kB / 389.2 MB, free: 8.777 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.003649, allocations: 23.91 kB / 389.2 MB, free: 8.754 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.003673, allocations: 8 kB / 389.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.003684, allocations: 8 kB / 389.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.003707, allocations: 27.8 kB / 389.3 MB, free: 8.711 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.003736, allocations: 31.92 kB / 389.3 MB, free: 8.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.003855, allocations: 95.66 kB / 389.4 MB, free: 8.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.003857, allocations: 0 / 389.4 MB, free: 8.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003858, allocations: 0 / 389.4 MB, free: 8.586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.003862, allocations: 0 / 389.4 MB, free: 8.586 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.0004011/0.004263, allocations: 341.8 kB / 389.7 MB, free: 8.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.0043, allocations: 12.03 kB / 389.7 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.651e-05/0.004367, allocations: 42.67 kB / 389.8 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.004398, allocations: 16.84 kB / 389.8 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.004548, allocations: 149.1 kB / 389.9 MB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.004556, allocations: 4.375 kB / 389.9 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.004575, allocations: 16.31 kB / 390 MB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.004708, allocations: 106 kB / 390.1 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.004716, allocations: 0 / 390.1 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.004725, allocations: 4 kB / 390.1 MB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.004732, allocations: 7.938 kB / 390.1 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.07e-05/0.004792, allocations: 31.98 kB / 390.1 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.00523, allocations: 423.8 kB / 390.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.00537, allocations: 70.55 kB / 390.6 MB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.005397, allocations: 16.98 kB / 390.6 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.005408, allocations: 4 kB / 390.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.005424, allocations: 30.56 kB / 390.6 MB, free: 7.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.005425, allocations: 0 / 390.6 MB, free: 7.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001538/0.005579, allocations: 73.58 kB / 390.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.005608, allocations: 63.34 kB / 390.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.239e-05/0.0057, allocations: 154.9 kB / 390.9 MB, free: 6.887 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.005712, allocations: 25.7 kB / 390.9 MB, free: 6.855 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.005762, allocations: 127.9 kB / 391.1 MB, free: 6.727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.005775, allocations: 19.83 kB / 391.1 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.00581, allocations: 33.67 kB / 391.1 MB, free: 6.668 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.005879, allocations: 318.8 kB / 391.4 MB, free: 6.348 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.005907, allocations: 19.98 kB / 391.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/0.005951, allocations: 62.88 kB / 391.5 MB, free: 6.246 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.542e-05/0.006026, allocations: 90.14 kB / 391.6 MB, free: 6.137 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006028, allocations: 4 kB / 391.6 MB, free: 6.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001068/0.006135, allocations: 113.5 kB / 391.7 MB, free: 6.016 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.006146, allocations: 4 kB / 391.7 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.006153, allocations: 7.938 kB / 391.7 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.006165, allocations: 0 / 391.7 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.046e-05/0.006235, allocations: 27.98 kB / 391.8 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.006241, allocations: 7.938 kB / 391.8 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.006272, allocations: 7.891 kB / 391.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.00628, allocations: 16.16 kB / 391.8 MB, free: 5.945 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 6.143e-05/0.006341, allocations: 117.8 kB / 391.9 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.006356, allocations: 7.953 kB / 391.9 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.006378, allocations: 16.41 kB / 391.9 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.006379, allocations: 3.938 kB / 391.9 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.006384, allocations: 0 / 391.9 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.006386, allocations: 0 / 391.9 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.006628, allocations: 322.4 kB / 392.2 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.00663, allocations: 4 kB / 392.3 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.042e-05/0.00669, allocations: 24.02 kB / 392.3 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.006692, allocations: 0 / 392.3 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.006698, allocations: 0 / 392.3 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006699, allocations: 3.938 kB / 392.3 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.006701, allocations: 0 / 392.3 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.006827, allocations: 184.3 kB / 392.5 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.006848, allocations: 16.05 kB / 392.5 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.006859, allocations: 4 kB / 392.5 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.34e-05/0.006892, allocations: 4 kB / 392.5 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.006906, allocations: 3.984 kB / 392.5 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.006911, allocations: 8 kB / 392.5 MB, free: 5.164 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.836e-05/0.006959, allocations: 115.3 kB / 392.6 MB, free: 5.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006959, allocations: 0 / 392.6 MB, free: 5.051 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.007129, allocations: 27.89 kB / 392.6 MB, free: 5.023 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 0.0002941/0.007424, allocations: 0.7133 MB / 393.3 MB, free: 4.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.00754, allocations: 55.84 kB / 393.4 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.007542, allocations: 0 / 393.4 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.81e-05/0.00756, allocations: 16.36 kB / 393.4 MB, free: 4.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.007864, allocations: 49.48 kB / 393.5 MB, free: 4.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.008935, allocations: 1.645 MB / 395.1 MB, free: 2.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.859e-05/0.008994, allocations: 93.17 kB / 395.2 MB, free: 2.289 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.303e-05/0.009037, allocations: 12.48 kB / 395.2 MB, free: 2.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.009086, allocations: 32.48 kB / 395.2 MB, free: 2.246 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.009086, allocations: 0 / 395.2 MB, free: 2.246 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.02393, allocations: 3.367 MB / 398.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/6.988, allocations: 15.72 kB / 398.6 MB, free: 15.04 MB / 378.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.733293623663485] Failed to read output from testmodel.py, exit status != 0: 7.070366654545069 7.085334839 7.078713181 Calling exit ...