Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.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.0007682/0.0007682, 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.000894/0.000894, 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.9117/0.9117, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.006957/0.006957, allocations: 1.034 MB / 260.2 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: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 385.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.448e-05, allocations: 5.234 kB / 385.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.002857/0.002881, allocations: 1.931 MB / 387.8 MB, free: 8.984 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009888/0.00387, allocations: 0.5727 MB / 388.4 MB, free: 8.406 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.00399, allocations: 7.938 kB / 388.4 MB, free: 8.398 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.004144, allocations: 15.8 kB / 388.4 MB, free: 8.383 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.799e-05/0.004212, allocations: 51.58 kB / 388.5 MB, free: 8.332 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.004471, allocations: 99.8 kB / 388.6 MB, free: 8.234 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.004673, allocations: 183.3 kB / 388.7 MB, free: 8.055 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.004819, allocations: 45.72 kB / 388.8 MB, free: 8.008 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/0.004915, allocations: 91.73 kB / 388.9 MB, free: 7.918 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.004992, allocations: 47.81 kB / 388.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.005037, allocations: 12 kB / 388.9 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.005051, allocations: 12 kB / 388.9 MB, free: 7.848 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.806e-05/0.005079, allocations: 27.84 kB / 389 MB, free: 7.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.005127, allocations: 47.84 kB / 389 MB, free: 7.773 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.005319, allocations: 155.4 kB / 389.2 MB, free: 7.621 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.005322, allocations: 0 / 389.2 MB, free: 7.621 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.005323, allocations: 0 / 389.2 MB, free: 7.621 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.005329, allocations: 0 / 389.2 MB, free: 7.621 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005604/0.005889, allocations: 397.4 kB / 389.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.005935, allocations: 8.031 kB / 389.6 MB, free: 7.195 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.005971, allocations: 42.69 kB / 389.6 MB, free: 7.145 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.006009, allocations: 24.78 kB / 389.6 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.006271, allocations: 161.5 kB / 389.8 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.006286, allocations: 16.31 kB / 389.8 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.006311, allocations: 12.38 kB / 389.8 MB, free: 6.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.006496, allocations: 123.9 kB / 389.9 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.006503, allocations: 192 / 389.9 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.006515, allocations: 8.125 kB / 389.9 MB, free: 6.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.006521, allocations: 4 kB / 389.9 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.006625, allocations: 70.25 kB / 390 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.007266, allocations: 491.6 kB / 390.5 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.00741, allocations: 82.55 kB / 390.6 MB, free: 6.082 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.007467, allocations: 44.97 kB / 390.6 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.007484, allocations: 0 / 390.6 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.007502, allocations: 30.56 kB / 390.7 MB, free: 5.996 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.007503, allocations: 0 / 390.7 MB, free: 5.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002359/0.007739, allocations: 133.4 kB / 390.8 MB, free: 5.859 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.007766, allocations: 59.34 kB / 390.8 MB, free: 5.789 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.007888, allocations: 196.4 kB / 391 MB, free: 5.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.007901, allocations: 29.7 kB / 391.1 MB, free: 5.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.007965, allocations: 124.5 kB / 391.2 MB, free: 5.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.007987, allocations: 35.69 kB / 391.2 MB, free: 5.395 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.008028, allocations: 33.72 kB / 391.2 MB, free: 5.355 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.569e-05/0.008104, allocations: 322.8 kB / 391.6 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.895e-05/0.008163, allocations: 39.97 kB / 391.6 MB, free: 4.992 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.118e-05/0.008244, allocations: 54.56 kB / 391.7 MB, free: 4.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.008366, allocations: 98.48 kB / 391.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.008368, allocations: 0 / 391.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000162/0.00853, allocations: 150.9 kB / 391.9 MB, free: 4.672 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.008545, allocations: 4 kB / 391.9 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.008552, allocations: 3.938 kB / 391.9 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.008565, allocations: 4.375 kB / 391.9 MB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.008687, allocations: 43.91 kB / 392 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.008694, allocations: 8.062 kB / 392 MB, free: 4.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.559e-05/0.008729, allocations: 7.953 kB / 392 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.008738, allocations: 11.94 kB / 392 MB, free: 4.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * 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.674e-05/0.008815, allocations: 122.4 kB / 392.1 MB, free: 4.461 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.008835, allocations: 15.91 kB / 392.1 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.008864, allocations: 25.39 kB / 392.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.008866, allocations: 0 / 392.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.008871, allocations: 0 / 392.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.008875, allocations: 0 / 392.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.009217, allocations: 382.4 kB / 392.5 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.009219, allocations: 0 / 392.5 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.009363, allocations: 35.91 kB / 392.6 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.009367, allocations: 4 kB / 392.6 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.009377, allocations: 0 / 392.6 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007934/0.01017, allocations: 1.297 MB / 393.9 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.01017, allocations: 3.938 kB / 393.9 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.01038, allocations: 240.2 kB / 394.1 MB, free: 2.293 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.01041, allocations: 23.92 kB / 394.1 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-06/0.01042, allocations: 3.938 kB / 394.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.562e-05/0.01047, allocations: 4 kB / 394.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.01051, allocations: 15.92 kB / 394.1 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.01052, allocations: 4 kB / 394.1 MB, free: 2.242 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.481e-05/0.0106, allocations: 131.4 kB / 394.3 MB, free: 2.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0106, allocations: 8.156 kB / 394.3 MB, free: 2.105 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.0108, allocations: 27.94 kB / 394.3 MB, free: 2.078 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * 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 (9): * Single equations (assignments): 8 * 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.0004459/0.01124, allocations: 0.7757 MB / 395.1 MB, free: 1.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.01142, allocations: 79.89 kB / 395.2 MB, free: 1.191 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01142, allocations: 0 / 395.2 MB, free: 1.191 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.01154, allocations: 56.14 kB / 395.2 MB, free: 1.137 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.01189, allocations: 64.2 kB / 395.3 MB, free: 1.078 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.01345, allocations: 1.9 MB / 397.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.251e-05/0.01352, allocations: 108.1 kB / 397.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.139e-05/0.01358, allocations: 13.48 kB / 397.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.761e-05/0.01366, allocations: 52.47 kB / 397.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01366, allocations: 4 kB / 397.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.0339, allocations: 4.299 MB / 401.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/6.895, allocations: 10.73 kB / 401.7 MB, free: 10.78 MB / 330.7 MB " [Timeout remaining time 653] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD_fmu --startTime=0 --stopTime=300 --stepSize=0.6 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.780815699137747] Failed to read output from testmodel.py, exit status != 0: 6.978157144971192 7.142257232 7.134341341 Calling exit ...