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.000872/0.000872, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009808/0.0009808, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05466/0.05466, allocations: 11.85 MB / 282.2 MB, free: 9.477 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.0006074/0.0006077, allocations: 12 kB / 342.9 MB, free: 22.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.09497, allocations: 50.21 MB / 393.1 MB, free: 4.262 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003226/0.09825, allocations: 2.62 MB / 395.7 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.1015, allocations: 1.887 MB / 397.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003718/0.102, allocations: 8 kB / 397.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.1022, allocations: 63.52 kB / 397.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006038/0.1029, allocations: 219.4 kB / 397.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008383/0.1037, allocations: 271.2 kB / 398.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.1041, allocations: 219.5 kB / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.1042, allocations: 65.56 kB / 398.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.1044, allocations: 95.64 kB / 398.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.1046, allocations: 103.5 kB / 398.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.1047, allocations: 12 kB / 398.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.105, allocations: 167.8 kB / 398.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.1051, allocations: 31.86 kB / 398.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.1051, allocations: 77.58 kB / 398.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.1055, allocations: 255.7 kB / 399.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.1055, allocations: 0 / 399.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1055, allocations: 0 / 399.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1055, allocations: 0 / 399.2 MB, free: 14.17 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.0007446/0.1063, allocations: 0.51 MB / 399.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.1063, allocations: 12.03 kB / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.1064, allocations: 39.56 kB / 399.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.1067, allocations: 250.5 kB / 400 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.1067, allocations: 12 kB / 400 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.1068, allocations: 20 kB / 400 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.1072, allocations: 207.9 kB / 400.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1072, allocations: 3.938 kB / 400.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.1072, allocations: 12 kB / 400.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1072, allocations: 7.938 kB / 400.2 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.1076, allocations: 163.7 kB / 400.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.1089, allocations: 1.224 MB / 401.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.1093, allocations: 114.5 kB / 401.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-05/0.1094, allocations: 89.23 kB / 401.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.1095, allocations: 38.56 kB / 401.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.1095, allocations: 0 / 401.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.002198/0.1117, allocations: 0.622 MB / 402.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.1117, allocations: 55.39 kB / 402.5 MB, free: 10.48 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.0003077/0.112, allocations: 265.2 kB / 402.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.1121, allocations: 29.7 kB / 402.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/0.1122, allocations: 156 kB / 403 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1122, allocations: 51.44 kB / 403 MB, free: 9.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-06/0.1122, allocations: 0 / 403 MB, free: 9.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1124, allocations: 334.8 kB / 403.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.1126, allocations: 75.89 kB / 403.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.1128, allocations: 112.2 kB / 403.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.113, allocations: 79.97 kB / 403.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.113, allocations: 0 / 403.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004914/0.1135, allocations: 245.2 kB / 403.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1135, allocations: 7.953 kB / 403.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1135, allocations: 8.359 kB / 403.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1135, allocations: 7.938 kB / 403.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.1138, allocations: 47.95 kB / 403.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1138, allocations: 11.92 kB / 403.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.114, allocations: 19.98 kB / 403.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.114, allocations: 12 kB / 403.9 MB, free: 9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.1141, allocations: 125.8 kB / 404.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.1142, allocations: 23.72 kB / 404.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004926/0.1147, allocations: 215.3 kB / 404.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1147, allocations: 4 kB / 404.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1147, allocations: 0 / 404.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1147, allocations: 0 / 404.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.115, allocations: 273.5 kB / 404.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.115, allocations: 8 kB / 404.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.1152, allocations: 31.97 kB / 404.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1152, allocations: 3.984 kB / 404.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1152, allocations: 8 kB / 404.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1152, allocations: 7.891 kB / 404.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1152, allocations: 0 / 404.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.1157, allocations: 311.1 kB / 404.9 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1158, allocations: 116.8 kB / 405.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.1158, allocations: 8 kB / 405.1 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.116, allocations: 15.98 kB / 405.1 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.1161, allocations: 11.94 kB / 405.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1161, allocations: 4 kB / 405.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1163, allocations: 186 kB / 405.3 MB, free: 7.578 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1163, allocations: 4 kB / 405.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003516/0.1166, allocations: 83.94 kB / 405.4 MB, free: 7.492 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003524/0.117, allocations: 167.1 kB / 405.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004383/0.1174, allocations: 171.3 kB / 405.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1174, allocations: 0 / 405.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.1176, allocations: 88.14 kB / 405.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.118, allocations: 56.52 kB / 405.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009041/0.1189, allocations: 0.5238 MB / 406.4 MB, free: 6.465 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1192, allocations: 0.7521 MB / 407.1 MB, free: 5.688 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.1193, allocations: 29.95 kB / 407.1 MB, free: 5.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.1194, allocations: 23.42 kB / 407.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1194, allocations: 0 / 407.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of Templates: time 0.006529/0.1259, allocations: 3.45 MB / 410.6 MB, free: 2.223 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: