Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_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.001265/0.001265, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001398/0.001398, allocations: 218 kB / 22.26 MB, free: 5.125 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.98 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.008579/0.008579, allocations: 1.346 MB / 313.8 MB, free: 1.852 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.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_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.002303/0.002303, allocations: 73.12 kB / 440.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1106, allocations: 53.67 MB / 493.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.003578/0.1142, allocations: 1.695 MB / 495.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1157, allocations: 0.5767 MB / 496.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.1158, allocations: 0 / 496.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.116, allocations: 19.8 kB / 496.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.1161, allocations: 23.8 kB / 496.2 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.1166, allocations: 79.83 kB / 496.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.1169, allocations: 123.6 kB / 496.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.1171, allocations: 37.61 kB / 496.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.179e-05/0.1172, allocations: 47.72 kB / 496.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1173, allocations: 47.78 kB / 496.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.1173, allocations: 4 kB / 496.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.923e-05/0.1173, allocations: 8 kB / 496.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.1174, allocations: 19.92 kB / 496.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.657e-05/0.1175, allocations: 51.67 kB / 496.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.1177, allocations: 95.5 kB / 496.7 MB, free: 3.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1177, allocations: 0 / 496.7 MB, free: 3.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1177, allocations: 0 / 496.7 MB, free: 3.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1177, allocations: 0 / 496.7 MB, free: 3.707 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.0007567/0.1185, allocations: 349.8 kB / 497 MB, free: 3.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.1185, allocations: 8.031 kB / 497.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.091e-05/0.1186, allocations: 50.67 kB / 497.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.1187, allocations: 16.78 kB / 497.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.1189, allocations: 144.4 kB / 497.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.119, allocations: 4.375 kB / 497.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.119, allocations: 19.89 kB / 497.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.1192, allocations: 97.95 kB / 497.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1192, allocations: 4 kB / 497.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1192, allocations: 7.938 kB / 497.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.1192, allocations: 4 kB / 497.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1194, allocations: 35.97 kB / 497.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008/0.1202, allocations: 431.8 kB / 497.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.1204, allocations: 62.56 kB / 497.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.1204, allocations: 16.98 kB / 497.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.1204, allocations: 3.938 kB / 497.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.1204, allocations: 34.56 kB / 498 MB, free: 2.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1204, allocations: 0 / 498 MB, free: 2.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000227/0.1207, allocations: 73.59 kB / 498 MB, free: 2.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.1207, allocations: 59.41 kB / 498.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.1209, allocations: 154.2 kB / 498.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.1209, allocations: 29.7 kB / 498.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.121, allocations: 123.8 kB / 498.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.1211, allocations: 23.78 kB / 498.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.651e-05/0.1211, allocations: 29.7 kB / 498.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1213, allocations: 318.8 kB / 498.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.682e-05/0.1214, allocations: 19.98 kB / 498.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.75e-05/0.1214, allocations: 66 kB / 498.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1216, allocations: 85.94 kB / 498.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.1216, allocations: 4 kB / 498.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002035/0.1218, allocations: 121.3 kB / 499 MB, free: 1.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1218, allocations: 4 kB / 499.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1218, allocations: 4 kB / 499.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1219, allocations: 0 / 499.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.122, allocations: 28.3 kB / 499.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.122, allocations: 16.08 kB / 499.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.709e-05/0.1221, allocations: 15.94 kB / 499.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.1221, allocations: 4 kB / 499.1 MB, free: 1.047 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 13 * 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.0001071/0.1222, allocations: 117.8 kB / 499.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.1222, allocations: 15.84 kB / 499.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.1223, allocations: 16.41 kB / 499.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1223, allocations: 0 / 499.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1223, allocations: 0 / 499.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1223, allocations: 3.984 kB / 499.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.1227, allocations: 322.4 kB / 499.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1227, allocations: 3.938 kB / 499.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.1229, allocations: 20 kB / 499.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1229, allocations: 0 / 499.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1229, allocations: 3.984 kB / 499.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1229, allocations: 0 / 499.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.1229, allocations: 3.938 kB / 499.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.1232, allocations: 188.3 kB / 499.8 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.1232, allocations: 19.92 kB / 499.8 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.1232, allocations: 3.984 kB / 499.8 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.1233, allocations: 0 / 499.8 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.1233, allocations: 4 kB / 499.8 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1233, allocations: 0 / 499.8 MB, free: 268 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1234, allocations: 115.2 kB / 499.9 MB, free: 152 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1234, allocations: 4.062 kB / 499.9 MB, free: 148 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1237, allocations: 20 kB / 500 MB, free: 128 kB / 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 (5): * Single equations (assignments): 5 * 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.0005772/0.1243, allocations: 0.721 MB / 0.4889 GB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1244, allocations: 48.17 kB / 0.489 GB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1244, allocations: 0 / 0.489 GB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.1245, allocations: 15.94 kB / 0.489 GB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.125, allocations: 39.73 kB / 0.489 GB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.1271, allocations: 1.698 MB / 0.4907 GB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.1275, allocations: 0.708 MB / 0.4914 GB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.589e-05/0.1275, allocations: 12.47 kB / 0.4914 GB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.1276, allocations: 31.61 kB / 0.4914 GB, free: 12.68 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1276, allocations: 3.938 kB / 0.4914 GB, free: 12.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.1585, allocations: 2.758 MB / 0.4941 GB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.19, allocations: 4.219 kB / 0.4941 GB, free: 10.08 MB / 366.1 MB " [Timeout remaining time 649] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.99548385082744] Failed to read output from testmodel.py, exit status != 0: 11.293413858860731 11.506539139 11.385774036 Calling exit ...