Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.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.001347/0.001347, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001833/0.001833, allocations: 215.8 kB / 22.25 MB, free: 5.133 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.988 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.008686/0.008686, allocations: 1.339 MB / 313.8 MB, free: 1.859 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.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="me",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.002053/0.002053, allocations: 67.89 kB / 439.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1124, allocations: 53.68 MB / 493.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.003046/0.1154, allocations: 1.654 MB / 494.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1166, allocations: 0.5805 MB / 495.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.795e-05/0.1166, allocations: 0 / 495.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.1168, allocations: 19.8 kB / 495.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.1168, allocations: 23.78 kB / 495.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.1171, allocations: 67.92 kB / 495.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1173, allocations: 123.6 kB / 495.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1174, allocations: 37.73 kB / 495.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.684e-05/0.1175, allocations: 35.86 kB / 495.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.938e-05/0.1176, allocations: 39.72 kB / 495.7 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.1176, allocations: 8 kB / 495.7 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.1176, allocations: 4 kB / 495.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.1176, allocations: 15.94 kB / 495.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.927e-05/0.1177, allocations: 51.67 kB / 495.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1178, allocations: 91.56 kB / 495.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1178, allocations: 0 / 495.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1178, allocations: 0 / 495.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.1178, allocations: 0 / 495.8 MB, free: 4.574 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005518/0.1184, allocations: 333.8 kB / 496.2 MB, free: 4.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1184, allocations: 12.02 kB / 496.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.1185, allocations: 38.75 kB / 496.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.1185, allocations: 12.89 kB / 496.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.1188, allocations: 146.9 kB / 496.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1188, allocations: 4.375 kB / 496.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.1188, allocations: 15.94 kB / 496.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.119, allocations: 96.23 kB / 496.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.119, allocations: 0 / 496.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.119, allocations: 4 kB / 496.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.119, allocations: 0 / 496.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.437e-05/0.1191, allocations: 35.92 kB / 496.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/0.1198, allocations: 496 kB / 497 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.749e-05/0.1199, allocations: 38.56 kB / 497 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.12, allocations: 12.86 kB / 497.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.12, allocations: 0 / 497.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.12, allocations: 38.44 kB / 497.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.12, allocations: 7.938 kB / 497.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001989/0.1202, allocations: 61.88 kB / 497.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.1202, allocations: 51.41 kB / 497.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.1204, allocations: 178.7 kB / 497.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1204, allocations: 25.7 kB / 497.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.1205, allocations: 119.9 kB / 497.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.1205, allocations: 15.91 kB / 497.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.1206, allocations: 37.64 kB / 497.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1208, allocations: 322.8 kB / 497.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.1208, allocations: 23.98 kB / 497.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.204e-05/0.1209, allocations: 79.66 kB / 498 MB, free: 2.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.1211, allocations: 103.6 kB / 498.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1211, allocations: 0 / 498.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002099/0.1213, allocations: 145.3 kB / 498.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1213, allocations: 8 kB / 498.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1213, allocations: 0 / 498.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.1213, allocations: 4 kB / 498.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1214, allocations: 27.98 kB / 498.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1214, allocations: 3.938 kB / 498.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.1215, allocations: 11.89 kB / 498.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1215, allocations: 12 kB / 498.3 MB, free: 1.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (16): * Single equations (assignments): 16 * 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.178e-05/0.1216, allocations: 118.1 kB / 498.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.1216, allocations: 11.89 kB / 498.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.1217, allocations: 13.03 kB / 498.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1217, allocations: 3.984 kB / 498.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1217, allocations: 0 / 498.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1217, allocations: 0 / 498.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.122, allocations: 306.3 kB / 498.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.122, allocations: 4.125 kB / 498.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.803e-05/0.1221, allocations: 19.92 kB / 498.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1221, allocations: 0 / 498.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.1221, allocations: 0 / 498.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1221, allocations: 4 kB / 498.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1221, allocations: 0 / 498.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1223, allocations: 160.3 kB / 498.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.1223, allocations: 20.03 kB / 498.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.1223, allocations: 3.938 kB / 499 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.022e-05/0.1224, allocations: 0 / 499 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.1224, allocations: 4 kB / 499 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1224, allocations: 0 / 499 MB, free: 1.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1225, allocations: 127.2 kB / 499.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1225, allocations: 3.938 kB / 499.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1228, allocations: 19.95 kB / 499.1 MB, free: 0.9531 MB / 350.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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0004445/0.1232, allocations: 0.7016 MB / 499.8 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.1234, allocations: 51.86 kB / 499.9 MB, free: 176 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1234, allocations: 0 / 499.9 MB, free: 176 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.452e-05/0.1234, allocations: 8.5 kB / 499.9 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.1238, allocations: 47.86 kB / 499.9 MB, free: 124 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.1257, allocations: 1.738 MB / 0.4899 GB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.126, allocations: 0.7041 MB / 0.4906 GB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.916e-05/0.126, allocations: 4.984 kB / 0.4906 GB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.1261, allocations: 27.42 kB / 0.4906 GB, free: 13.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1261, allocations: 0 / 0.4906 GB, free: 13.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04027/0.1664, allocations: 2.685 MB / 0.4932 GB, free: 10.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.19, allocations: 10.89 kB / 0.4932 GB, free: 10.97 MB / 366.1 MB " [Timeout remaining time 649] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.14892134279944] Failed to read output from testmodel.py, exit status != 0: 11.301737620029598 11.526114214 11.405167572 Calling exit ...