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.001096/0.001096, allocations: 104.8 kB / 16.29 MB, free: 6.414 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.001113/0.001113, allocations: 189.3 kB / 17.22 MB, free: 5.953 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.318/1.318, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05569/0.05569, allocations: 11.85 MB / 282.3 MB, free: 316 kB / 222.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.001445/0.001445, allocations: 67.81 kB / 342.5 MB, free: 3.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2337, allocations: 49.22 MB / 391.8 MB, free: 49.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003551/0.2373, allocations: 2.586 MB / 394.4 MB, free: 47.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.2397, allocations: 1.983 MB / 396.3 MB, free: 45.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.2398, allocations: 3.906 kB / 396.3 MB, free: 45.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.2401, allocations: 60.48 kB / 396.4 MB, free: 45.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.2404, allocations: 110 kB / 396.5 MB, free: 45.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.2412, allocations: 379.8 kB / 396.9 MB, free: 45.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.2415, allocations: 296.7 kB / 397.2 MB, free: 45.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.2417, allocations: 101.7 kB / 397.3 MB, free: 45.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.2419, allocations: 114.8 kB / 397.4 MB, free: 45.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.242, allocations: 115.5 kB / 397.5 MB, free: 45.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.2421, allocations: 18.75 kB / 397.5 MB, free: 45.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.2424, allocations: 195.3 kB / 397.7 MB, free: 45.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.939e-05/0.2425, allocations: 45.38 kB / 397.7 MB, free: 45.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.2426, allocations: 130.8 kB / 397.9 MB, free: 45.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.243, allocations: 357 kB / 398.2 MB, free: 44.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.243, allocations: 3.938 kB / 398.2 MB, free: 44.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.243, allocations: 0 / 398.2 MB, free: 44.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.243, allocations: 0.9688 kB / 398.2 MB, free: 44.93 MB / 318.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.0006099/0.2436, allocations: 0.5629 MB / 398.8 MB, free: 44.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2437, allocations: 13.08 kB / 398.8 MB, free: 44.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.2437, allocations: 29.81 kB / 398.8 MB, free: 44.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.244, allocations: 263.5 kB / 399.1 MB, free: 44.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.244, allocations: 14.91 kB / 399.1 MB, free: 44.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.244, allocations: 18.12 kB / 399.1 MB, free: 44.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.2444, allocations: 208.9 kB / 399.3 MB, free: 44.03 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2444, allocations: 0 / 399.3 MB, free: 44.03 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.2444, allocations: 5.531 kB / 399.3 MB, free: 44.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2444, allocations: 9.406 kB / 399.3 MB, free: 44.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.2447, allocations: 159 kB / 399.5 MB, free: 43.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.2459, allocations: 1.208 MB / 400.7 MB, free: 42.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.2463, allocations: 108.6 kB / 400.8 MB, free: 42.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.2464, allocations: 44.83 kB / 400.9 MB, free: 42.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.454e-05/0.2465, allocations: 87.83 kB / 400.9 MB, free: 42.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.2465, allocations: 39.56 kB / 401 MB, free: 42.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.2465, allocations: 0 / 401 MB, free: 42.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.002096/0.2486, allocations: 0.5111 MB / 401.5 MB, free: 42.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.2487, allocations: 60.5 kB / 401.5 MB, free: 42.33 MB / 318.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.0002975/0.249, allocations: 267.1 kB / 401.8 MB, free: 42.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.249, allocations: 29.64 kB / 401.8 MB, free: 42.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.2491, allocations: 161.2 kB / 402 MB, free: 41.96 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.2491, allocations: 36.05 kB / 402 MB, free: 41.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.2492, allocations: 43.14 kB / 402.1 MB, free: 41.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.2492, allocations: 331.7 kB / 402.4 MB, free: 41.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.2494, allocations: 63.2 kB / 402.5 MB, free: 41.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.2496, allocations: 110.2 kB / 402.6 MB, free: 41.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.2499, allocations: 162.9 kB / 402.7 MB, free: 41.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2499, allocations: 5.359 kB / 402.7 MB, free: 41.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004364/0.2504, allocations: 222 kB / 402.9 MB, free: 41.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2504, allocations: 9.297 kB / 403 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2504, allocations: 2.281 kB / 403 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2504, allocations: 1.062 kB / 403 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.2506, allocations: 43.81 kB / 403 MB, free: 41.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2507, allocations: 6.188 kB / 403 MB, free: 41.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.2508, allocations: 20.05 kB / 403 MB, free: 41.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.2508, allocations: 9.797 kB / 403 MB, free: 41.2 MB / 318.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 8.333e-05/0.2509, allocations: 128.8 kB / 403.2 MB, free: 41.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.251, allocations: 25.47 kB / 403.2 MB, free: 41.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.2514, allocations: 202.2 kB / 403.4 MB, free: 40.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2514, allocations: 5.172 kB / 403.4 MB, free: 40.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2514, allocations: 1.062 kB / 403.4 MB, free: 40.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2514, allocations: 0 / 403.4 MB, free: 40.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.2517, allocations: 283.8 kB / 403.7 MB, free: 40.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2517, allocations: 1.219 kB / 403.7 MB, free: 40.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.2519, allocations: 33.81 kB / 403.7 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2519, allocations: 0 / 403.7 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.2519, allocations: 1.5 kB / 403.7 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2519, allocations: 0.9062 kB / 403.7 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2519, allocations: 1.312 kB / 403.7 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.2523, allocations: 294.1 kB / 404 MB, free: 40.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.051e-05/0.2524, allocations: 112.6 kB / 404.1 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.2524, allocations: 1.062 kB / 404.1 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.2526, allocations: 10.83 kB / 404.1 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.2526, allocations: 12.86 kB / 404.1 MB, free: 40.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.2527, allocations: 2.438 kB / 404.1 MB, free: 40.28 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.2528, allocations: 188.5 kB / 404.3 MB, free: 40.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2528, allocations: 0 / 404.3 MB, free: 40.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004037/0.2532, allocations: 89.84 kB / 404.4 MB, free: 40.13 MB / 318.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.0002219/0.2534, allocations: 167.5 kB / 404.6 MB, free: 40.01 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.2539, allocations: 152.1 kB / 404.7 MB, free: 39.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2539, allocations: 4.062 kB / 404.7 MB, free: 39.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.2541, allocations: 73.67 kB / 404.8 MB, free: 39.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.2544, allocations: 67.06 kB / 404.9 MB, free: 39.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007882/0.2552, allocations: 438.9 kB / 405.3 MB, free: 39.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.2554, allocations: 0.7431 MB / 406 MB, free: 38.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.2555, allocations: 39.34 kB / 406.1 MB, free: 38.83 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.2556, allocations: 19.69 kB / 406.1 MB, free: 38.82 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2556, allocations: 0 / 406.1 MB, free: 38.82 MB / 318.1 MB Notification: Performance of Templates: time 0.006592/0.2622, allocations: 3.779 MB / 409.9 MB, free: 36.63 MB / 318.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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)