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.002021/0.002021, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002363/0.002363, allocations: 214.4 kB / 22.25 MB, free: 5.262 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.657/1.657, allocations: 230.6 MB / 256 MB, free: 7.777 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.0126/0.0126, allocations: 1.341 MB / 313.8 MB, free: 1.617 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) 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.002144/0.002144, allocations: 73.45 kB / 440.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1045, allocations: 53.67 MB / 493.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.003084/0.1075, allocations: 1.646 MB / 495.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1086, allocations: 0.5299 MB / 496 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.1087, allocations: 8 kB / 496 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.1088, allocations: 15.8 kB / 496 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.198e-05/0.1089, allocations: 27.78 kB / 496 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.1091, allocations: 75.84 kB / 496.1 MB, free: 4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1093, allocations: 127.6 kB / 496.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1095, allocations: 37.59 kB / 496.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.61e-05/0.1096, allocations: 39.8 kB / 496.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.1096, allocations: 39.72 kB / 496.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.1097, allocations: 8 kB / 496.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.007e-05/0.1097, allocations: 8 kB / 496.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.1097, allocations: 23.92 kB / 496.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.1098, allocations: 35.8 kB / 496.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.11, allocations: 107.4 kB / 496.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.11, allocations: 0 / 496.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.11, allocations: 0 / 496.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.11, allocations: 0 / 496.5 MB, free: 3.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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005551/0.1105, allocations: 333.8 kB / 496.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1106, allocations: 12.03 kB / 496.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.705e-05/0.1106, allocations: 46.73 kB / 496.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.1107, allocations: 16.84 kB / 496.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.1109, allocations: 150.1 kB / 497.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1109, allocations: 8.375 kB / 497.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.1109, allocations: 19.89 kB / 497.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1111, allocations: 93.97 kB / 497.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1111, allocations: 3.938 kB / 497.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1111, allocations: 0 / 497.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1111, allocations: 4 kB / 497.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.944e-05/0.1112, allocations: 39.97 kB / 497.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007142/0.1119, allocations: 419.8 kB / 497.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.1121, allocations: 58.58 kB / 497.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.1122, allocations: 16.98 kB / 497.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.1122, allocations: 3.938 kB / 497.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1122, allocations: 34.5 kB / 497.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1122, allocations: 0 / 497.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001996/0.1124, allocations: 73.59 kB / 497.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.1125, allocations: 59.39 kB / 497.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1127, allocations: 162.1 kB / 498 MB, free: 1.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1127, allocations: 29.7 kB / 498.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.1128, allocations: 131.8 kB / 498.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.1128, allocations: 11.91 kB / 498.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.1128, allocations: 33.7 kB / 498.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.113, allocations: 322.8 kB / 498.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.553e-05/0.113, allocations: 12 kB / 498.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.66e-05/0.1131, allocations: 62 kB / 498.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1132, allocations: 93.94 kB / 498.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1132, allocations: 3.938 kB / 498.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001911/0.1134, allocations: 117.4 kB / 498.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1135, allocations: 8 kB / 498.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1135, allocations: 0 / 498.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1135, allocations: 4 kB / 498.8 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1136, allocations: 23.98 kB / 498.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.1136, allocations: 7.938 kB / 498.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/0.1137, allocations: 16.36 kB / 498.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1137, allocations: 4 kB / 498.9 MB, free: 0.9492 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.0001052/0.1138, allocations: 117.8 kB / 499 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.1138, allocations: 11.94 kB / 499 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.1138, allocations: 20.38 kB / 499 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1138, allocations: 4 kB / 499 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1138, allocations: 0 / 499 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1138, allocations: 0 / 499 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004005/0.1143, allocations: 322.3 kB / 499.4 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1143, allocations: 4.031 kB / 499.4 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.1144, allocations: 19.98 kB / 499.4 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1144, allocations: 0 / 499.4 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1144, allocations: 0 / 499.4 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.1144, allocations: 7.938 kB / 499.4 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1144, allocations: 0 / 499.4 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.1146, allocations: 184.2 kB / 499.6 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.1146, allocations: 15.97 kB / 499.6 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.1147, allocations: 4 kB / 499.6 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.1147, allocations: 4 kB / 499.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.1147, allocations: 64 / 499.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1147, allocations: 11.94 kB / 499.6 MB, free: 164 kB / 350.1 MB Notification: Performance of sorting global known variables: time 9.191e-05/0.1148, allocations: 112.1 kB / 499.7 MB, free: 52 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1148, allocations: 3.938 kB / 499.7 MB, free: 48 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1151, allocations: 23.95 kB / 499.7 MB, free: 24 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.0005387/0.1156, allocations: 0.7171 MB / 0.4887 GB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.1158, allocations: 47.92 kB / 0.4888 GB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1158, allocations: 4.312 kB / 0.4888 GB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.646e-05/0.1158, allocations: 16 kB / 0.4888 GB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.1162, allocations: 46.5 kB / 0.4888 GB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.1181, allocations: 1.696 MB / 0.4905 GB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.1182, allocations: 89.05 kB / 0.4906 GB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.676e-05/0.1183, allocations: 16.48 kB / 0.4906 GB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.1184, allocations: 35.42 kB / 0.4906 GB, free: 13.2 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1184, allocations: 0 / 0.4906 GB, free: 13.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.148, allocations: 3.211 MB / 0.4938 GB, free: 10.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.3, allocations: 10.38 kB / 0.4938 GB, free: 10.15 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: 14.305681094992906] Failed to read output from testmodel.py, exit status != 0: 11.409864708781242 11.667700749 11.553843299 Calling exit ...