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.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.001723/0.001723, allocations: 110.8 kB / 16.41 MB, free: 6.48 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.001314/0.001314, allocations: 191.7 kB / 19.35 MB, free: 3.73 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.463/1.463, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.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.008341/0.008341, allocations: 1.326 MB / 298.5 MB, free: 11.41 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.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 0.001886/0.001886, allocations: 71.89 kB / 414.5 MB, free: 27.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08137/0.08326, allocations: 49.73 MB / 464.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.003416/0.08672, allocations: 1.959 MB / 466.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.08795, allocations: 0.565 MB / 466.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.08808, allocations: 8 kB / 466.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.08825, allocations: 19.73 kB / 466.8 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.08836, allocations: 27.72 kB / 466.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.08867, allocations: 99.8 kB / 466.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.08894, allocations: 179.3 kB / 467.1 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.08914, allocations: 57.61 kB / 467.2 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.581e-05/0.08925, allocations: 67.64 kB / 467.2 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.08938, allocations: 63.64 kB / 467.3 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.08942, allocations: 12 kB / 467.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.837e-05/0.08945, allocations: 15.94 kB / 467.3 MB, free: 7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.0895, allocations: 27.92 kB / 467.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.777e-05/0.08959, allocations: 75.53 kB / 467.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.08985, allocations: 155.3 kB / 467.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.08986, allocations: 0 / 467.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.08987, allocations: 3.984 kB / 467.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.08988, allocations: 0 / 467.6 MB, free: 6.742 MB / 334.1 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.0007839/0.09067, allocations: 470.5 kB / 468 MB, free: 6.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.09072, allocations: 8.031 kB / 468 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.467e-05/0.09079, allocations: 46.73 kB / 468.1 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.09086, allocations: 20.84 kB / 468.1 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.09123, allocations: 228.5 kB / 468.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.09125, allocations: 8.375 kB / 468.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.0913, allocations: 24.31 kB / 468.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.09158, allocations: 129 kB / 468.5 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.0916, allocations: 3.938 kB / 468.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.09162, allocations: 0 / 468.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.09163, allocations: 4 kB / 468.5 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.09182, allocations: 71.95 kB / 468.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008735/0.0927, allocations: 0.5278 MB / 469.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.09292, allocations: 90.55 kB / 469.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.09302, allocations: 36.84 kB / 469.2 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.09305, allocations: 7.938 kB / 469.2 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.09309, allocations: 34.56 kB / 469.3 MB, free: 4.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.0931, allocations: 3.938 kB / 469.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003485/0.09345, allocations: 125.7 kB / 469.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.09351, allocations: 59.41 kB / 469.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.09371, allocations: 178.3 kB / 469.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.09373, allocations: 29.64 kB / 469.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.495e-05/0.09383, allocations: 128.3 kB / 469.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.09388, allocations: 39.72 kB / 469.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.09395, allocations: 37.66 kB / 469.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.09412, allocations: 326.8 kB / 470.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/0.09421, allocations: 35.98 kB / 470.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.09434, allocations: 66.55 kB / 470.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.09453, allocations: 94.3 kB / 470.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.09454, allocations: 0 / 470.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002736/0.09481, allocations: 145.4 kB / 470.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.09484, allocations: 8.062 kB / 470.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.09485, allocations: 0 / 470.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.09488, allocations: 7.984 kB / 470.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.09507, allocations: 31.98 kB / 470.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.09509, allocations: 4 kB / 470.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.09517, allocations: 15.89 kB / 470.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.09518, allocations: 4.375 kB / 470.6 MB, free: 3.488 MB / 334.1 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 0.0001229/0.09531, allocations: 125.7 kB / 470.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.09536, allocations: 27.83 kB / 470.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.09541, allocations: 17.41 kB / 470.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.09542, allocations: 3.938 kB / 470.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.09543, allocations: 0 / 470.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.09544, allocations: 0 / 470.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005862/0.09603, allocations: 427.2 kB / 471.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.09604, allocations: 0 / 471.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.09629, allocations: 32.02 kB / 471.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.09631, allocations: 0 / 471.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.09633, allocations: 8 kB / 471.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.09753, allocations: 1.4 MB / 472.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.09754, allocations: 4 kB / 472.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.0979, allocations: 248.2 kB / 472.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.09799, allocations: 97.02 kB / 472.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.09802, allocations: 11.94 kB / 473 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.09811, allocations: 0 / 473 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.09816, allocations: 11.98 kB / 473 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.09818, allocations: 4 kB / 473 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.09831, allocations: 140.2 kB / 473.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09832, allocations: 0 / 473.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.0986, allocations: 31.95 kB / 473.1 MB, free: 0.6797 MB / 334.1 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.0007245/0.09933, allocations: 0.7718 MB / 473.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.0996, allocations: 88.03 kB / 474 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.09961, allocations: 0 / 474 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.0998, allocations: 47.91 kB / 474 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.1003, allocations: 52.03 kB / 474.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.1028, allocations: 1.939 MB / 476 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.1032, allocations: 0.7241 MB / 476.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.999e-05/0.1033, allocations: 17.31 kB / 476.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.739e-05/0.1034, allocations: 47.42 kB / 476.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1034, allocations: 0 / 476.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.1326, allocations: 3.495 MB / 480.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.264, allocations: 3.953 kB / 480.3 MB, free: 9.539 MB / 350.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 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: 10.936882449081168] Failed to read output from testmodel.py, exit status != 0: 8.334524775040336 8.358007334 8.264421859 Calling exit ...