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.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.001769/0.001769, 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.001647/0.001647, allocations: 215.3 kB / 23.03 MB, free: 4.922 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.477/1.477, 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.008408/0.008408, allocations: 1.343 MB / 314.6 MB, free: 1.633 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.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",fmuType="cs",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="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.002049/0.002049, allocations: 59.91 kB / 440.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.09239, allocations: 53.67 MB / 494.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003395/0.09578, allocations: 1.672 MB / 496.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.09707, allocations: 0.5456 MB / 496.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.09718, allocations: 0 / 496.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.09736, allocations: 19.8 kB / 496.8 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.09747, allocations: 31.72 kB / 496.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.09779, allocations: 91.81 kB / 496.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.09806, allocations: 147.5 kB / 497.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.09823, allocations: 41.92 kB / 497.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.987e-05/0.09832, allocations: 43.86 kB / 497.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.09843, allocations: 47.72 kB / 497.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.09846, allocations: 8 kB / 497.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.335e-05/0.09848, allocations: 12 kB / 497.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.09852, allocations: 31.84 kB / 497.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.09858, allocations: 43.73 kB / 497.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.09879, allocations: 119.5 kB / 497.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.09879, allocations: 4 kB / 497.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09879, allocations: 0 / 497.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.0988, allocations: 0 / 497.4 MB, free: 3.465 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.0006284/0.09943, allocations: 365.6 kB / 497.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.09947, allocations: 8.031 kB / 497.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.756e-05/0.09952, allocations: 8.359 kB / 497.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.222e-05/0.09958, allocations: 34.94 kB / 497.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.09962, allocations: 16.84 kB / 497.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.09984, allocations: 162.2 kB / 498 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.09986, allocations: 12.31 kB / 498 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.0999, allocations: 12 kB / 498 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.1001, allocations: 106.4 kB / 498.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1001, allocations: 3.938 kB / 498.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1001, allocations: 4 kB / 498.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.1001, allocations: 7.984 kB / 498.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1003, allocations: 43.92 kB / 498.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008087/0.1011, allocations: 471.6 kB / 498.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.1012, allocations: 62.56 kB / 498.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.1013, allocations: 32.78 kB / 498.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.1013, allocations: 4.156 kB / 498.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1013, allocations: 30.56 kB / 498.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.1013, allocations: 0 / 498.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008686/0.1022, allocations: 317.1 kB / 499.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.1023, allocations: 55.41 kB / 499.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.1024, allocations: 166.6 kB / 499.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1025, allocations: 29.7 kB / 499.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.1026, allocations: 123.9 kB / 499.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.1026, allocations: 43.56 kB / 499.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.1027, allocations: 33.7 kB / 499.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1028, allocations: 330.8 kB / 499.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.1029, allocations: 23.98 kB / 499.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.368e-05/0.103, allocations: 51.42 kB / 499.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1031, allocations: 93.5 kB / 0.4883 GB, free: 0.6211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1031, allocations: 4 kB / 0.4883 GB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002208/0.1033, allocations: 117.6 kB / 0.4884 GB, free: 0.4961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1033, allocations: 8 kB / 0.4884 GB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1034, allocations: 0 / 0.4884 GB, free: 500 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1034, allocations: 0 / 0.4884 GB, free: 500 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.1037, allocations: 51.91 kB / 0.4885 GB, free: 448 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.1049, allocations: 1.301 MB / 0.4897 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.105, allocations: 4 kB / 0.4897 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.105, allocations: 4 kB / 0.4897 GB, free: 15.02 MB / 366.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 (16): * Single equations (assignments): 15 * 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.0001297/0.1051, allocations: 121.8 kB / 0.4899 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.1051, allocations: 11.89 kB / 0.4899 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.1052, allocations: 21.39 kB / 0.4899 GB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1052, allocations: 4.156 kB / 0.4899 GB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1052, allocations: 3.938 kB / 0.4899 GB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1052, allocations: 0 / 0.4899 GB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005684/0.1058, allocations: 373.4 kB / 0.4903 GB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1058, allocations: 0 / 0.4903 GB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.106, allocations: 47.97 kB / 0.4903 GB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.1061, allocations: 3.984 kB / 0.4903 GB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1061, allocations: 0 / 0.4903 GB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.1071, allocations: 1.305 MB / 0.4916 GB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1071, allocations: 0 / 0.4916 GB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.1074, allocations: 223.4 kB / 0.4918 GB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.1074, allocations: 15.94 kB / 0.4918 GB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.1074, allocations: 7.938 kB / 0.4918 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/0.1075, allocations: 4 kB / 0.4918 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.1075, allocations: 8.203 kB / 0.4918 GB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.1075, allocations: 8 kB / 0.4918 GB, free: 12.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1077, allocations: 120 kB / 0.4919 GB, free: 12.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1077, allocations: 0 / 0.4919 GB, free: 12.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.1079, allocations: 24 kB / 0.492 GB, free: 12.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 ($outputAlias_y) * 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 (10): * Single equations (assignments): 9 * 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.0005722/0.1085, allocations: 0.7569 MB / 0.4927 GB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.1088, allocations: 82.09 kB / 0.4928 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1088, allocations: 0 / 0.4928 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.109, allocations: 48.45 kB / 0.4928 GB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.1095, allocations: 44.09 kB / 0.4929 GB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.1116, allocations: 1.757 MB / 0.4946 GB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.1117, allocations: 102 kB / 0.4947 GB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.636e-05/0.1118, allocations: 12.64 kB / 0.4947 GB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.884e-05/0.1119, allocations: 43.42 kB / 0.4947 GB, free: 9.582 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1119, allocations: 0 / 0.4947 GB, free: 9.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.136, allocations: 3.396 MB / 0.4981 GB, free: 6.383 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/11.92, allocations: 7.922 kB / 0.4981 GB, free: 6.375 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.70876468194183] Failed to read output from testmodel.py, exit status != 0: 12.08340349199716 12.26046571 12.158956967 Calling exit ...