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.001359/0.001359, allocations: 121.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.002203/0.002203, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.557/1.557, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.007959/0.007959, allocations: 1.359 MB / 310.9 MB, free: 3.125 MB / 238.1 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) 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BoundaryInitBlocks requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 69.89 kB / 434.6 MB, free: 39.99 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08137/0.08344, allocations: 53.63 MB / 488.2 MB, free: 16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.0028/0.08624, allocations: 1.983 MB / 490.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.08732, allocations: 0.6037 MB / 490.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.08743, allocations: 6.469 kB / 490.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.08758, allocations: 17.98 kB / 490.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.61e-05/0.08766, allocations: 43.77 kB / 490.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.0879, allocations: 94.41 kB / 491 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.08811, allocations: 179.5 kB / 491.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.08826, allocations: 53.69 kB / 491.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.673e-05/0.08834, allocations: 68.53 kB / 491.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.242e-05/0.08843, allocations: 70.62 kB / 491.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.08846, allocations: 11.06 kB / 491.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.491e-05/0.08848, allocations: 12.44 kB / 491.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.08851, allocations: 24.42 kB / 491.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.08857, allocations: 74.23 kB / 491.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.08876, allocations: 150.5 kB / 491.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.08876, allocations: 1.125 kB / 491.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.08877, allocations: 0 / 491.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.08878, allocations: 4 kB / 491.6 MB, free: 13.41 MB / 350.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.0005765/0.08935, allocations: 473.9 kB / 492.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.08939, allocations: 13.31 kB / 492.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.437e-05/0.08941, allocations: 4.188 kB / 492.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.668e-05/0.08943, allocations: 41.44 kB / 492.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.08947, allocations: 27.3 kB / 492.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.08971, allocations: 221.7 kB / 492.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.08972, allocations: 14.53 kB / 492.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.08976, allocations: 12.5 kB / 492.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.08997, allocations: 134.2 kB / 492.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.08998, allocations: 0 / 492.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.09, allocations: 5.656 kB / 492.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.09, allocations: 2.625 kB / 492.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.09016, allocations: 65.06 kB / 492.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007045/0.09087, allocations: 0.5421 MB / 493.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.09105, allocations: 84.2 kB / 493.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/0.09114, allocations: 46.88 kB / 493.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.09116, allocations: 1.531 kB / 493.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.09117, allocations: 36.28 kB / 493.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.09117, allocations: 0 / 493.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003198/0.09149, allocations: 127.1 kB / 493.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.09151, allocations: 52.91 kB / 493.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.09166, allocations: 184.5 kB / 493.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.09167, allocations: 29.7 kB / 493.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.09173, allocations: 127.6 kB / 493.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.09175, allocations: 33.27 kB / 493.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.0918, allocations: 38.27 kB / 493.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.09186, allocations: 320.6 kB / 494.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-05/0.09195, allocations: 39.66 kB / 494.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.318e-05/0.09203, allocations: 57.72 kB / 494.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.09218, allocations: 99.14 kB / 494.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.09218, allocations: 0 / 494.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002268/0.09241, allocations: 147.1 kB / 494.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.09243, allocations: 5.875 kB / 494.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.09243, allocations: 5.438 kB / 494.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.09245, allocations: 1.375 kB / 494.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.09265, allocations: 40.84 kB / 494.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.09265, allocations: 10.62 kB / 494.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.759e-05/0.09272, allocations: 12.02 kB / 494.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.09273, allocations: 8.125 kB / 494.6 MB, free: 10.79 MB / 350.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 6.932e-05/0.0928, allocations: 119.3 kB / 494.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.09284, allocations: 18.72 kB / 494.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.09287, allocations: 24.14 kB / 494.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.09288, allocations: 1.375 kB / 494.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.09288, allocations: 0 / 494.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.09288, allocations: 3.984 kB / 494.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.0933, allocations: 417.4 kB / 495.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.0933, allocations: 1.375 kB / 495.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.09354, allocations: 32.72 kB / 495.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.09354, allocations: 9.281 kB / 495.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.09356, allocations: 5.375 kB / 495.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007381/0.09429, allocations: 1.4 MB / 496.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.09429, allocations: 0 / 496.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.09458, allocations: 245.6 kB / 496.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.09463, allocations: 103.2 kB / 497 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.09465, allocations: 13.45 kB / 497 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.108e-05/0.09474, allocations: 5.094 kB / 497 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.09479, allocations: 7.922 kB / 497 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.09479, allocations: 6.328 kB / 497 MB, free: 8.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.704e-05/0.09488, allocations: 129.5 kB / 497.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09488, allocations: 0 / 497.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.09516, allocations: 27.41 kB / 497.2 MB, free: 8.297 MB / 350.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.0004333/0.09559, allocations: 0.7842 MB / 498 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.0958, allocations: 75.47 kB / 498 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.09581, allocations: 5.188 kB / 498 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.09598, allocations: 51.31 kB / 498.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.09641, allocations: 52.8 kB / 498.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.09826, allocations: 1.941 MB / 0.4884 GB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.0984, allocations: 0.7145 MB / 0.4891 GB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.25e-05/0.09847, allocations: 20.8 kB / 0.4891 GB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.09854, allocations: 46.8 kB / 0.4891 GB, free: 5.094 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.09854, allocations: 1.031 kB / 0.4891 GB, free: 5.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.1182, allocations: 3.559 MB / 0.4926 GB, free: 1.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/8.497, allocations: 3.859 kB / 0.4926 GB, free: 1.801 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.305340220977087] Failed to read output from testmodel.py, exit status != 0: 8.631919623992871 8.648119796 8.556180206 Calling exit ...