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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 194.4 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05288/0.05288, allocations: 11.84 MB / 281.2 MB, free: 9.625 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.58 kB / 341.1 MB, free: 22.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08836/0.08969, allocations: 49.23 MB / 390.4 MB, free: 5.145 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.004329/0.09406, allocations: 3.354 MB / 393.7 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.09676, allocations: 2.123 MB / 395.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.09697, allocations: 8 kB / 395.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.09725, allocations: 51.67 kB / 395.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.09749, allocations: 95.23 kB / 396 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.09814, allocations: 294.5 kB / 396.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.09841, allocations: 302.3 kB / 396.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.0986, allocations: 78.39 kB / 396.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.09876, allocations: 107.6 kB / 396.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.09893, allocations: 107.5 kB / 396.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.09896, allocations: 16 kB / 396.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.09928, allocations: 187.8 kB / 397.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.13e-05/0.09933, allocations: 47.72 kB / 397.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.09944, allocations: 119.4 kB / 397.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.09986, allocations: 354.9 kB / 397.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.09988, allocations: 0 / 397.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09988, allocations: 0 / 397.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.09989, allocations: 0 / 397.6 MB, free: 13.9 MB / 302.1 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.0007253/0.1006, allocations: 0.5529 MB / 398.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1007, allocations: 12.03 kB / 398.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.1007, allocations: 28.66 kB / 398.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.101, allocations: 263.6 kB / 398.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.101, allocations: 12.38 kB / 398.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.1011, allocations: 20.12 kB / 398.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.1014, allocations: 211.9 kB / 398.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1014, allocations: 0 / 398.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.1015, allocations: 16 kB / 398.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1015, allocations: 4 kB / 398.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.1018, allocations: 155.7 kB / 398.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.1031, allocations: 1.212 MB / 400 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.1035, allocations: 106.5 kB / 400.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.1036, allocations: 52.98 kB / 400.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.484e-05/0.1037, allocations: 85.09 kB / 400.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1038, allocations: 34.5 kB / 400.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.1038, allocations: 0 / 400.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.002209/0.106, allocations: 0.5235 MB / 400.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.1061, allocations: 51.41 kB / 400.9 MB, free: 10.25 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.1065, allocations: 258.7 kB / 401.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1065, allocations: 33.7 kB / 401.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.903e-05/0.1066, allocations: 167.9 kB / 401.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.1066, allocations: 39.45 kB / 401.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.1067, allocations: 41.59 kB / 401.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1068, allocations: 330.8 kB / 401.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.107, allocations: 67.94 kB / 401.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.1072, allocations: 112.8 kB / 401.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.1076, allocations: 164.2 kB / 402.1 MB, free: 9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1076, allocations: 3.938 kB / 402.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004819/0.1081, allocations: 221.2 kB / 402.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1081, allocations: 10.62 kB / 402.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1082, allocations: 0 / 402.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.1082, allocations: 4 kB / 402.3 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.1084, allocations: 51.89 kB / 402.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1084, allocations: 0 / 402.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.1086, allocations: 15.98 kB / 402.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.1086, allocations: 8 kB / 402.4 MB, free: 8.688 MB / 302.1 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 (18): * Single equations (assignments): 18 * 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.0001238/0.1087, allocations: 134.7 kB / 402.5 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.1088, allocations: 27.66 kB / 402.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004771/0.1093, allocations: 191.2 kB / 402.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1093, allocations: 0 / 402.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1093, allocations: 0 / 402.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1093, allocations: 7.984 kB / 402.7 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.1096, allocations: 277.5 kB / 403 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1096, allocations: 0 / 403 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.1098, allocations: 35.91 kB / 403 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1098, allocations: 3.984 kB / 403 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.1098, allocations: 4 kB / 403 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1098, allocations: 4 kB / 403.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1098, allocations: 0 / 403.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.1103, allocations: 283.3 kB / 403.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1104, allocations: 104.9 kB / 403.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.1105, allocations: 4 kB / 403.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.1106, allocations: 19.92 kB / 403.5 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.1107, allocations: 7.984 kB / 403.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1107, allocations: 11.98 kB / 403.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.1109, allocations: 182 kB / 403.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.244e-06/0.1109, allocations: 0 / 403.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004331/0.1114, allocations: 91.92 kB / 403.7 MB, free: 7.23 MB / 302.1 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 (11): * Single equations (assignments): 11 * 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.0003092/0.1117, allocations: 159.1 kB / 403.9 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004661/0.1121, allocations: 163.8 kB / 404.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1122, allocations: 0 / 404.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.1124, allocations: 75.89 kB / 404.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.1128, allocations: 60.31 kB / 404.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.1139, allocations: 0.514 MB / 404.7 MB, free: 6.238 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.1142, allocations: 0.7443 MB / 405.4 MB, free: 5.469 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.1144, allocations: 34.88 kB / 405.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.1144, allocations: 27.42 kB / 405.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1144, allocations: 0 / 405.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of Templates: time 0.007576/0.122, allocations: 3.574 MB / 409.1 MB, free: 1.859 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile (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=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)