Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.0008507/0.0008507, allocations: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001388/0.001388, allocations: 173 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.9489/0.9489, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.03462/0.03462, allocations: 8.724 MB / 269 MB, free: 4.414 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/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: translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 288 MB, free: 1.359 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.288e-05, allocations: 6.312 kB / 288 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.09709/0.0971, allocations: 2.638 MB / 290.7 MB, free: 18.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.0991, allocations: 2.002 MB / 292.7 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.09924, allocations: 9.344 kB / 292.7 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.09945, allocations: 56.14 kB / 292.7 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.09971, allocations: 117.1 kB / 292.9 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008286/0.1005, allocations: 414.7 kB / 293.3 MB, free: 17.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.1008, allocations: 325.5 kB / 293.6 MB, free: 17.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.101, allocations: 69.86 kB / 293.6 MB, free: 17.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.1012, allocations: 172.2 kB / 293.8 MB, free: 17.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1013, allocations: 96.33 kB / 293.9 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.1014, allocations: 22.88 kB / 293.9 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.1016, allocations: 196.7 kB / 294.1 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.1017, allocations: 45.98 kB / 294.2 MB, free: 17.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.636e-05/0.1018, allocations: 91.95 kB / 294.3 MB, free: 17.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.1022, allocations: 340.8 kB / 294.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1022, allocations: 0 / 294.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1022, allocations: 1.094 kB / 294.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1022, allocations: 0 / 294.6 MB, free: 17.05 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0004982/0.1027, allocations: 484.4 kB / 295.1 MB, free: 16.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.1027, allocations: 11.11 kB / 295.1 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.1029, allocations: 46.14 kB / 295.1 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.103, allocations: 195.5 kB / 295.3 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.103, allocations: 11.81 kB / 295.3 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.1031, allocations: 21.31 kB / 295.3 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.1033, allocations: 177 kB / 295.5 MB, free: 16.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1033, allocations: 0 / 295.5 MB, free: 16.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1033, allocations: 7.062 kB / 295.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1033, allocations: 3.469 kB / 295.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.502e-05/0.1034, allocations: 68.75 kB / 295.6 MB, free: 16.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.104, allocations: 0.5856 MB / 296.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.1042, allocations: 61.66 kB / 296.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.1042, allocations: 14.73 kB / 296.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.1042, allocations: 11.97 kB / 296.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.1042, allocations: 36.06 kB / 296.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.1042, allocations: 0 / 296.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002947/0.1045, allocations: 128.2 kB / 296.4 MB, free: 15.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.1046, allocations: 62.48 kB / 296.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1047, allocations: 222.6 kB / 296.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.1047, allocations: 26.77 kB / 296.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.1047, allocations: 158.2 kB / 296.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.1047, allocations: 33.98 kB / 296.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.1048, allocations: 31.11 kB / 296.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.214e-05/0.1048, allocations: 335.3 kB / 297.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.1048, allocations: 11.39 kB / 297.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.1049, allocations: 45.91 kB / 297.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.347e-05/0.1049, allocations: 74.36 kB / 297.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1049, allocations: 5.344 kB / 297.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001051/0.105, allocations: 92.02 kB / 297.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.105, allocations: 5.031 kB / 297.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1051, allocations: 1.766 kB / 297.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1051, allocations: 5.594 kB / 297.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.1051, allocations: 35.56 kB / 297.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1051, allocations: 6.312 kB / 297.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.1052, allocations: 13.98 kB / 297.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1052, allocations: 6 kB / 297.6 MB, free: 14.87 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (15): * Single equations (assignments): 15 * 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 4.527e-05/0.1052, allocations: 112.3 kB / 297.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.1053, allocations: 12.02 kB / 297.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.1054, allocations: 97.47 kB / 297.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1054, allocations: 2.062 kB / 297.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1054, allocations: 3.938 kB / 297.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1054, allocations: 1.5 kB / 297.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.1055, allocations: 118.5 kB / 297.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1055, allocations: 1.5 kB / 297.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.1055, allocations: 22.89 kB / 297.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1055, allocations: 0 / 297.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1055, allocations: 5.891 kB / 297.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1055, allocations: 0.7031 kB / 297.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1055, allocations: 1.188 kB / 297.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.01e-05/0.1056, allocations: 168.8 kB / 298.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.1057, allocations: 26.02 kB / 298.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1057, allocations: 6.031 kB / 298.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.613e-05/0.1057, allocations: 2.922 kB / 298.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.1057, allocations: 5.844 kB / 298.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.1058, allocations: 10.56 kB / 298.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.21e-05/0.1058, allocations: 69.5 kB / 298.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1058, allocations: 0 / 298.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.106, allocations: 109.1 kB / 298.3 MB, free: 14.38 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 8 * 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.0001822/0.1062, allocations: 150.4 kB / 298.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.852e-05/0.1063, allocations: 58.47 kB / 298.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1063, allocations: 6.156 kB / 298.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.767e-05/0.1064, allocations: 28.91 kB / 298.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.1066, allocations: 43.44 kB / 298.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007265/0.1073, allocations: 410.1 kB / 299 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.867e-05/0.1073, allocations: 79.7 kB / 299.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.122e-05/0.1074, allocations: 24.75 kB / 299.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.1075, allocations: 98.23 kB / 299.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1075, allocations: 0 / 299.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of Templates: time 0.00512/0.1126, allocations: 3.729 MB / 302.9 MB, free: 12.57 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.581394964363426]