Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 106.5 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.00834/0.00834, allocations: 1.351 MB / 304 MB, free: 8.566 MB / 238.1 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 59.89 kB / 426.1 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09539/0.09731, allocations: 52.46 MB / 478.6 MB, free: 356 kB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003055/0.1004, allocations: 1.702 MB / 480.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1014, allocations: 0.5416 MB / 480.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.1015, allocations: 0 / 480.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.1017, allocations: 23.8 kB / 480.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.469e-05/0.1017, allocations: 27.72 kB / 480.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.102, allocations: 91.81 kB / 480.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.1022, allocations: 143.5 kB / 481.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.1024, allocations: 53.77 kB / 481.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.432e-05/0.1024, allocations: 43.8 kB / 481.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1026, allocations: 47.72 kB / 481.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.1026, allocations: 12 kB / 481.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/0.1026, allocations: 11.94 kB / 481.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.1026, allocations: 23.92 kB / 481.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.1027, allocations: 55.67 kB / 481.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.1029, allocations: 119.5 kB / 481.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1029, allocations: 0 / 481.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1029, allocations: 0 / 481.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1029, allocations: 4 kB / 481.4 MB, free: 13.44 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006326/0.1035, allocations: 434.7 kB / 481.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1036, allocations: 12.03 kB / 481.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.303e-05/0.1036, allocations: 42.92 kB / 481.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.1037, allocations: 16.84 kB / 481.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1039, allocations: 209 kB / 482.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1039, allocations: 12.56 kB / 482.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.104, allocations: 16.06 kB / 482.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.1042, allocations: 109.4 kB / 482.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1042, allocations: 0 / 482.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1042, allocations: 0 / 482.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1043, allocations: 4 kB / 482.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1044, allocations: 51.91 kB / 482.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.1051, allocations: 0.4926 MB / 482.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1053, allocations: 58.56 kB / 482.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.406e-05/0.1054, allocations: 24.97 kB / 482.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.1054, allocations: 3.938 kB / 482.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.1054, allocations: 38.56 kB / 482.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1054, allocations: 3.938 kB / 483 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002278/0.1057, allocations: 85.77 kB / 483 MB, free: 11.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1057, allocations: 51.41 kB / 483.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.1059, allocations: 164.1 kB / 483.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1059, allocations: 25.7 kB / 483.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.106, allocations: 123.9 kB / 483.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.106, allocations: 19.8 kB / 483.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.106, allocations: 33.7 kB / 483.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1062, allocations: 326.8 kB / 483.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/0.1062, allocations: 20 kB / 483.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.1063, allocations: 47.36 kB / 483.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1064, allocations: 71.38 kB / 483.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1064, allocations: 0 / 483.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001692/0.1066, allocations: 105.6 kB / 484 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1066, allocations: 8 kB / 484 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1066, allocations: 0 / 484 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1066, allocations: 0 / 484 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.1069, allocations: 43.91 kB / 484.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.1081, allocations: 1.408 MB / 485.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.1082, allocations: 11.98 kB / 485.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1082, allocations: 4 kB / 485.5 MB, free: 9 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 (12): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 0.0001069/0.1083, allocations: 117.8 kB / 485.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.1083, allocations: 12.14 kB / 485.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.1083, allocations: 25.33 kB / 485.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1083, allocations: 96 / 485.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1083, allocations: 7.938 kB / 485.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1083, allocations: 8.062 kB / 485.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.1088, allocations: 375.2 kB / 486 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1088, allocations: 0 / 486 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.109, allocations: 31.98 kB / 486 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.109, allocations: 7.984 kB / 486 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.109, allocations: 0 / 486 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.1101, allocations: 1.4 MB / 487.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1101, allocations: 4.156 kB / 487.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.1103, allocations: 200.2 kB / 487.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.1104, allocations: 89.09 kB / 487.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.1104, allocations: 0 / 487.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.1105, allocations: 7.938 kB / 487.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.1105, allocations: 3.984 kB / 487.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.1105, allocations: 8.062 kB / 487.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.27e-05/0.1106, allocations: 118.5 kB / 487.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1106, allocations: 4 kB / 487.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1108, allocations: 23.95 kB / 487.9 MB, free: 6.332 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 (6): * Single equations (assignments): 5 * 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.0005323/0.1114, allocations: 0.7413 MB / 488.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.1116, allocations: 67.84 kB / 488.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1116, allocations: 0 / 488.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1117, allocations: 31.92 kB / 488.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.1122, allocations: 45.78 kB / 488.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.1143, allocations: 1.716 MB / 490.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.1146, allocations: 0.7156 MB / 491.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.521e-05/0.1147, allocations: 16.48 kB / 491.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.1147, allocations: 35.42 kB / 491.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1147, allocations: 0 / 491.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.1401, allocations: 2.972 MB / 494.2 MB, free: 36 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.148, allocations: 16 kB / 494.3 MB, free: 20 kB / 350.1 MB " [Timeout remaining time 652] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.632979506161064] Failed to read output from testmodel.py, exit status != 0: 8.21870227297768 8.246154676 8.138336785 Calling exit ...