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.001325/0.001325, allocations: 111.9 kB / 17.54 MB, free: 4.641 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.001325/0.001325, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.24/1.24, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] 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.006963/0.006963, allocations: 1.345 MB / 305.8 MB, free: 3.508 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: "" <> 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 0.00219/0.00219, allocations: 71.88 kB / 429 MB, free: 1.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2008, allocations: 52.44 MB / 481.5 MB, free: 29.85 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.001972/0.2028, allocations: 1.696 MB / 483.2 MB, free: 28.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006322/0.2035, allocations: 0.5245 MB / 483.7 MB, free: 28.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/0.2035, allocations: 7.125 kB / 483.7 MB, free: 28.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.2036, allocations: 11.48 kB / 483.7 MB, free: 28.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.164e-05/0.2037, allocations: 34.05 kB / 483.8 MB, free: 28.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.2039, allocations: 78.58 kB / 483.8 MB, free: 28.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.204, allocations: 135.3 kB / 484 MB, free: 28.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2041, allocations: 31.16 kB / 484 MB, free: 28.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.2042, allocations: 42.44 kB / 484 MB, free: 28.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.2042, allocations: 35.84 kB / 484.1 MB, free: 28.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.2042, allocations: 5.875 kB / 484.1 MB, free: 28.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.2043, allocations: 13.62 kB / 484.1 MB, free: 28.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.2043, allocations: 22.81 kB / 484.1 MB, free: 28.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.2043, allocations: 48.88 kB / 484.2 MB, free: 28.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.2044, allocations: 100.9 kB / 484.3 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2044, allocations: 0 / 484.3 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2044, allocations: 0 / 484.3 MB, free: 28.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2044, allocations: 0 / 484.3 MB, free: 28.02 MB / 366.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.0003604/0.2048, allocations: 427 kB / 484.7 MB, free: 27.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.2048, allocations: 12.83 kB / 484.7 MB, free: 27.6 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.2049, allocations: 41.81 kB / 484.7 MB, free: 27.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.2049, allocations: 14.97 kB / 484.7 MB, free: 27.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.205, allocations: 202.2 kB / 484.9 MB, free: 27.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.205, allocations: 3.562 kB / 484.9 MB, free: 27.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.205, allocations: 14.62 kB / 485 MB, free: 27.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.2052, allocations: 102 kB / 485.1 MB, free: 27.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2052, allocations: 0 / 485.1 MB, free: 27.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2052, allocations: 4 kB / 485.1 MB, free: 27.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2052, allocations: 2.969 kB / 485.1 MB, free: 27.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.379e-05/0.2053, allocations: 34 kB / 485.1 MB, free: 27.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.2057, allocations: 474.2 kB / 485.6 MB, free: 26.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.2058, allocations: 61.67 kB / 485.6 MB, free: 26.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.2059, allocations: 19.48 kB / 485.6 MB, free: 26.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.2059, allocations: 3.938 kB / 485.6 MB, free: 26.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.096e-05/0.2059, allocations: 41.14 kB / 485.7 MB, free: 26.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.2059, allocations: 0 / 485.7 MB, free: 26.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001501/0.206, allocations: 72.55 kB / 485.8 MB, free: 26.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.563e-05/0.2061, allocations: 54.53 kB / 485.8 MB, free: 26.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.395e-05/0.2061, allocations: 156.4 kB / 486 MB, free: 26.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/0.2061, allocations: 29.17 kB / 486 MB, free: 26.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.2062, allocations: 119.5 kB / 486.1 MB, free: 26.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.2062, allocations: 24.77 kB / 486.1 MB, free: 26.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.2062, allocations: 29.09 kB / 486.2 MB, free: 26.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.832e-05/0.2063, allocations: 324.6 kB / 486.5 MB, free: 25.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.2063, allocations: 19.22 kB / 486.5 MB, free: 25.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.2063, allocations: 65.88 kB / 486.6 MB, free: 25.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.308e-05/0.2064, allocations: 88.83 kB / 486.6 MB, free: 25.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2064, allocations: 0 / 486.6 MB, free: 25.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001246/0.2065, allocations: 123 kB / 486.8 MB, free: 25.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.2065, allocations: 6.281 kB / 486.8 MB, free: 25.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2065, allocations: 3.375 kB / 486.8 MB, free: 25.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2066, allocations: 3.406 kB / 486.8 MB, free: 25.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.2067, allocations: 29.22 kB / 486.8 MB, free: 25.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2067, allocations: 2.438 kB / 486.8 MB, free: 25.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.2067, allocations: 10.36 kB / 486.8 MB, free: 25.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2067, allocations: 9.375 kB / 486.8 MB, free: 25.74 MB / 366.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 4.822e-05/0.2068, allocations: 123.8 kB / 487 MB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.2068, allocations: 10.98 kB / 487 MB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.2068, allocations: 14.92 kB / 487 MB, free: 25.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-06/0.2068, allocations: 0 / 487 MB, free: 25.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2068, allocations: 2.875 kB / 487 MB, free: 25.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2068, allocations: 0 / 487 MB, free: 25.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.207, allocations: 350.9 kB / 487.3 MB, free: 25.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.207, allocations: 4.344 kB / 487.3 MB, free: 25.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.783e-05/0.2071, allocations: 29.75 kB / 487.4 MB, free: 25.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2071, allocations: 0 / 487.4 MB, free: 25.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-06/0.2072, allocations: 4 kB / 487.4 MB, free: 25.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2072, allocations: 0 / 487.4 MB, free: 25.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2072, allocations: 3.156 kB / 487.4 MB, free: 25.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.2073, allocations: 178.8 kB / 487.5 MB, free: 25.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.2073, allocations: 99.92 kB / 487.6 MB, free: 24.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.2073, allocations: 6.047 kB / 487.6 MB, free: 24.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.2074, allocations: 0 / 487.6 MB, free: 24.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.2074, allocations: 3.031 kB / 487.6 MB, free: 24.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.2074, allocations: 0 / 487.6 MB, free: 24.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.929e-05/0.2074, allocations: 119.2 kB / 487.8 MB, free: 24.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2075, allocations: 0 / 487.8 MB, free: 24.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.2077, allocations: 15.34 kB / 487.8 MB, free: 24.88 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.0002142/0.2079, allocations: 0.7214 MB / 488.5 MB, free: 24.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.208, allocations: 58.59 kB / 488.6 MB, free: 24.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.208, allocations: 0 / 488.6 MB, free: 24.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.01e-05/0.208, allocations: 13.44 kB / 488.6 MB, free: 24.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.2083, allocations: 40.3 kB / 488.6 MB, free: 24.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2094, allocations: 1.705 MB / 490.3 MB, free: 22.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.2095, allocations: 0.7025 MB / 491 MB, free: 21.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.883e-05/0.2095, allocations: 10.59 kB / 491 MB, free: 21.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.2096, allocations: 30 kB / 491.1 MB, free: 21.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2096, allocations: 0 / 491.1 MB, free: 21.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.232, allocations: 2.576 MB / 493.6 MB, free: 21.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.266, allocations: 8.25 kB / 493.6 MB, free: 21.45 MB / 366.1 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 --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: 9.337799893997726]