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.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.00131/0.00131, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001488/0.001488, allocations: 215.6 kB / 23.03 MB, free: 4.926 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.01386/0.01386, allocations: 1.344 MB / 314.6 MB, free: 1.652 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.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="cs",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="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.001929/0.001929, allocations: 63.91 kB / 440.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09179/0.09372, allocations: 53.67 MB / 493.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.002875/0.0966, allocations: 1.638 MB / 495.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.09763, allocations: 0.5455 MB / 496 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.09769, allocations: 4 kB / 496 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.09784, allocations: 15.8 kB / 496 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.546e-05/0.0979, allocations: 35.72 kB / 496 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.09814, allocations: 79.84 kB / 496.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.09835, allocations: 127.5 kB / 496.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.09848, allocations: 37.5 kB / 496.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.09854, allocations: 47.8 kB / 496.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.09863, allocations: 43.78 kB / 496.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.09866, allocations: 8 kB / 496.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.302e-05/0.09868, allocations: 8 kB / 496.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.09872, allocations: 23.86 kB / 496.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.09877, allocations: 51.73 kB / 496.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.09894, allocations: 115.4 kB / 496.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.09895, allocations: 0 / 496.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09895, allocations: 0 / 496.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.09895, allocations: 0 / 496.5 MB, free: 4.363 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005462/0.0995, allocations: 345.7 kB / 496.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.09954, allocations: 12.03 kB / 496.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.13e-05/0.09956, allocations: 4.188 kB / 496.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.0996, allocations: 42.73 kB / 496.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.09964, allocations: 16.84 kB / 497 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.09985, allocations: 150.3 kB / 497.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.09987, allocations: 4.375 kB / 497.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.09989, allocations: 8.375 kB / 497.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1001, allocations: 108.1 kB / 497.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1001, allocations: 0 / 497.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1001, allocations: 8 kB / 497.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1001, allocations: 0 / 497.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.801e-05/0.1002, allocations: 35.92 kB / 497.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.1009, allocations: 0.5038 MB / 497.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.101, allocations: 42.56 kB / 497.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.1011, allocations: 20.92 kB / 497.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.1011, allocations: 7.984 kB / 497.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.1011, allocations: 42.44 kB / 497.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1011, allocations: 0 / 497.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001905/0.1013, allocations: 65.64 kB / 497.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.1014, allocations: 51.41 kB / 498 MB, free: 2.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1016, allocations: 191.3 kB / 498.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1016, allocations: 25.7 kB / 498.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/0.1017, allocations: 116 kB / 498.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.1017, allocations: 19.78 kB / 498.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.1018, allocations: 33.7 kB / 498.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1019, allocations: 322.8 kB / 498.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/0.102, allocations: 23.98 kB / 498.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/0.102, allocations: 59.36 kB / 498.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.1021, allocations: 63.44 kB / 498.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1021, allocations: 0 / 498.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001873/0.1023, allocations: 125.5 kB / 499 MB, free: 1.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.1024, allocations: 7.938 kB / 499 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1024, allocations: 4 kB / 499 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1024, allocations: 0 / 499 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.1025, allocations: 39.92 kB / 499 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1025, allocations: 0 / 499 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.802e-05/0.1026, allocations: 11.89 kB / 499 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1026, allocations: 11.92 kB / 499 MB, free: 1.645 MB / 350.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 9.883e-05/0.1027, allocations: 129.9 kB / 499.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.1027, allocations: 15.84 kB / 499.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.1028, allocations: 13.02 kB / 499.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1028, allocations: 4 kB / 499.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1028, allocations: 0 / 499.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1028, allocations: 0 / 499.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.1032, allocations: 310.4 kB / 499.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1032, allocations: 0 / 499.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.1034, allocations: 23.98 kB / 499.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1034, allocations: 0 / 499.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1034, allocations: 4.031 kB / 499.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.1045, allocations: 1.297 MB / 0.4891 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1045, allocations: 0 / 0.4891 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.1047, allocations: 184.5 kB / 0.4893 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.1048, allocations: 15.98 kB / 0.4893 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1048, allocations: 8.203 kB / 0.4893 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.1049, allocations: 7.938 kB / 0.4893 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.1049, allocations: 7.984 kB / 0.4893 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.1049, allocations: 4 kB / 0.4893 GB, free: 15.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.105, allocations: 127.2 kB / 0.4894 GB, free: 15.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.105, allocations: 0 / 0.4894 GB, free: 15.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1053, allocations: 27.94 kB / 0.4894 GB, free: 15.29 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.000543/0.1058, allocations: 0.7127 MB / 0.4901 GB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.106, allocations: 59.94 kB / 0.4902 GB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.106, allocations: 4 kB / 0.4902 GB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.1061, allocations: 19.98 kB / 0.4902 GB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.1066, allocations: 41.53 kB / 0.4903 GB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.1086, allocations: 1.741 MB / 0.492 GB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.947e-05/0.1087, allocations: 97.11 kB / 0.4921 GB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.362e-05/0.1087, allocations: 17.11 kB / 0.4921 GB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.333e-05/0.1088, allocations: 35.42 kB / 0.4921 GB, free: 12.42 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1088, allocations: 0 / 0.4921 GB, free: 12.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.1327, allocations: 3.148 MB / 0.4952 GB, free: 9.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/11.94, allocations: 12.05 kB / 0.4952 GB, free: 9.473 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.772519627935253] Failed to read output from testmodel.py, exit status != 0: 12.113690464058891 12.322441216 12.22070694 Calling exit ...