Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.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.001315/0.001315, allocations: 103.2 kB / 16.45 MB, free: 6.445 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.001443/0.001443, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.48/1.48, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.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.01958/0.01958, allocations: 1.338 MB / 304 MB, free: 3.5 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.InvertibleConfig.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 64.05 kB / 425.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.255, allocations: 52.46 MB / 477.8 MB, free: 28.89 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.002763/0.2577, allocations: 1.673 MB / 479.5 MB, free: 27.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.2586, allocations: 0.5374 MB / 480 MB, free: 27.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.38e-05/0.2587, allocations: 7.25 kB / 480.1 MB, free: 27.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.2589, allocations: 15.28 kB / 480.1 MB, free: 27.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.096e-05/0.2589, allocations: 33.05 kB / 480.1 MB, free: 27.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.2592, allocations: 88.27 kB / 480.2 MB, free: 27.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.2594, allocations: 128.4 kB / 480.3 MB, free: 27.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.2595, allocations: 33.41 kB / 480.3 MB, free: 27.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.906e-05/0.2595, allocations: 47.16 kB / 480.4 MB, free: 27.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.149e-05/0.2596, allocations: 51.22 kB / 480.4 MB, free: 27.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.2596, allocations: 6.25 kB / 480.4 MB, free: 27.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.638e-05/0.2597, allocations: 9.438 kB / 480.5 MB, free: 27.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.2597, allocations: 15.44 kB / 480.5 MB, free: 27.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.2597, allocations: 54.91 kB / 480.5 MB, free: 27.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.2599, allocations: 121.1 kB / 480.6 MB, free: 27.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2599, allocations: 4 kB / 480.6 MB, free: 27.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2599, allocations: 3.938 kB / 480.6 MB, free: 27.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2599, allocations: 0 / 480.6 MB, free: 27.03 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.0004627/0.2604, allocations: 423.4 kB / 481.1 MB, free: 26.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2604, allocations: 6.594 kB / 481.1 MB, free: 26.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.2604, allocations: 41.09 kB / 481.1 MB, free: 26.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.2605, allocations: 15.38 kB / 481.1 MB, free: 26.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.2606, allocations: 210.7 kB / 481.3 MB, free: 26.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.2606, allocations: 11.81 kB / 481.3 MB, free: 26.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.2607, allocations: 6.812 kB / 481.3 MB, free: 26.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.2608, allocations: 102.6 kB / 481.4 MB, free: 26.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2608, allocations: 0 / 481.4 MB, free: 26.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2608, allocations: 4 kB / 481.5 MB, free: 26.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2609, allocations: 3.125 kB / 481.5 MB, free: 26.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.822e-05/0.2609, allocations: 41.41 kB / 481.5 MB, free: 26.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.2615, allocations: 0.5399 MB / 482 MB, free: 25.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.82e-05/0.2615, allocations: 50.44 kB / 482.1 MB, free: 25.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.2616, allocations: 17.19 kB / 482.1 MB, free: 25.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.2616, allocations: 6.656 kB / 482.1 MB, free: 25.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.2616, allocations: 34.56 kB / 482.1 MB, free: 25.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2616, allocations: 0 / 482.1 MB, free: 25.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001822/0.2618, allocations: 78.53 kB / 482.2 MB, free: 25.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.2618, allocations: 55.34 kB / 482.3 MB, free: 25.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.2619, allocations: 185.2 kB / 482.5 MB, free: 25.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.2619, allocations: 25.7 kB / 482.5 MB, free: 25.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.262, allocations: 117.9 kB / 482.6 MB, free: 25.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.262, allocations: 22.77 kB / 482.6 MB, free: 25.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.262, allocations: 32.77 kB / 482.6 MB, free: 25.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.2621, allocations: 325 kB / 483 MB, free: 24.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.231e-05/0.2621, allocations: 22.77 kB / 483 MB, free: 24.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.592e-05/0.2622, allocations: 52.84 kB / 483 MB, free: 24.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.146e-05/0.2623, allocations: 75.53 kB / 483.1 MB, free: 24.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2623, allocations: 0 / 483.1 MB, free: 24.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001379/0.2624, allocations: 122.6 kB / 483.2 MB, free: 24.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2624, allocations: 10.38 kB / 483.2 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2624, allocations: 0 / 483.2 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2624, allocations: 3 kB / 483.2 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.2626, allocations: 37.78 kB / 483.3 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2626, allocations: 0 / 483.3 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.375e-05/0.2626, allocations: 17.75 kB / 483.3 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2626, allocations: 10.8 kB / 483.3 MB, free: 24.69 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 15 * 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.365e-05/0.2627, allocations: 115.7 kB / 483.4 MB, free: 24.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.2627, allocations: 10.8 kB / 483.4 MB, free: 24.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.2628, allocations: 15.11 kB / 483.4 MB, free: 24.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2628, allocations: 2.719 kB / 483.5 MB, free: 24.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2628, allocations: 3.938 kB / 483.5 MB, free: 24.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.2628, allocations: 7.938 kB / 483.5 MB, free: 24.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.263, allocations: 346.8 kB / 483.8 MB, free: 24.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.263, allocations: 0 / 483.8 MB, free: 24.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.2632, allocations: 28.41 kB / 483.8 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2632, allocations: 0 / 483.8 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.2632, allocations: 2.969 kB / 483.8 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006789/0.2639, allocations: 1.394 MB / 485.2 MB, free: 22.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2639, allocations: 11.16 kB / 485.2 MB, free: 22.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.264, allocations: 181.9 kB / 485.4 MB, free: 22.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.2641, allocations: 95.19 kB / 485.5 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.2641, allocations: 0 / 485.5 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.2641, allocations: 6.875 kB / 485.5 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.2642, allocations: 3.047 kB / 485.5 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2642, allocations: 7.156 kB / 485.5 MB, free: 22.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.553e-05/0.2642, allocations: 128.8 kB / 485.6 MB, free: 22.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2642, allocations: 0 / 485.6 MB, free: 22.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.2645, allocations: 22.06 kB / 485.7 MB, free: 22.36 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002665/0.2648, allocations: 0.7197 MB / 486.4 MB, free: 21.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.2649, allocations: 49.95 kB / 486.4 MB, free: 21.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2649, allocations: 0 / 486.4 MB, free: 21.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.265, allocations: 33.42 kB / 486.5 MB, free: 21.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.2654, allocations: 44.42 kB / 486.5 MB, free: 21.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.2668, allocations: 1.734 MB / 488.2 MB, free: 20.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.2669, allocations: 0.7067 MB / 489 MB, free: 19.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.267, allocations: 22.45 kB / 489 MB, free: 19.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.267, allocations: 32.39 kB / 489 MB, free: 19.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.267, allocations: 0 / 489 MB, free: 19.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.2921, allocations: 2.877 MB / 491.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.235, allocations: 10.66 kB / 491.9 MB, free: 18.97 MB / 366.1 MB " [Timeout remaining time 652] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.738578841090202] Failed to read output from testmodel.py, exit status != 0: 8.309909309726208 8.321328681 8.058856977 Calling exit ...