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.001143/0.001143, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001517/0.001517, allocations: 172.7 kB / 15.95 MB, free: 208 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.831/1.831, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05313/0.05313, allocations: 11.85 MB / 282.2 MB, free: 9.48 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.0005704/0.0005704, allocations: 23.98 kB / 342.9 MB, free: 22.47 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1187, allocations: 50.21 MB / 393.1 MB, free: 4.207 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003901/0.1227, allocations: 2.858 MB / 396 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003365/0.1261, allocations: 1.91 MB / 397.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.1263, allocations: 11.94 kB / 397.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.1266, allocations: 63.58 kB / 398 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004161/0.127, allocations: 166.6 kB / 398.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008129/0.1279, allocations: 271.2 kB / 398.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000357/0.1282, allocations: 294.3 kB / 398.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.1284, allocations: 69.56 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.1286, allocations: 99.62 kB / 398.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.1288, allocations: 95.52 kB / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.1288, allocations: 12 kB / 399 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003221/0.1292, allocations: 175.8 kB / 399.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.1292, allocations: 35.84 kB / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.1293, allocations: 77.52 kB / 399.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.1296, allocations: 243.7 kB / 399.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1296, allocations: 3.938 kB / 399.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1296, allocations: 0 / 399.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1297, allocations: 4 kB / 399.5 MB, free: 13.82 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.0007684/0.1304, allocations: 0.5139 MB / 400 MB, free: 13.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.1305, allocations: 12.03 kB / 400 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.98e-05/0.1306, allocations: 27.62 kB / 400 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.1309, allocations: 258.5 kB / 400.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.131, allocations: 8 kB / 400.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.131, allocations: 16 kB / 400.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.1314, allocations: 215.9 kB / 400.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1315, allocations: 0 / 400.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.1315, allocations: 19.92 kB / 400.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1315, allocations: 4 kB / 400.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.1318, allocations: 163.8 kB / 400.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.1333, allocations: 1.227 MB / 401.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.1337, allocations: 110.6 kB / 402.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1338, allocations: 48.84 kB / 402.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.1339, allocations: 85.09 kB / 402.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.134, allocations: 42.52 kB / 402.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.134, allocations: 0 / 402.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.00217/0.1361, allocations: 0.6293 MB / 402.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.1362, allocations: 55.39 kB / 402.9 MB, free: 10.07 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.0003461/0.1365, allocations: 265.2 kB / 403.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1366, allocations: 29.7 kB / 403.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1367, allocations: 156 kB / 403.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.1367, allocations: 47.45 kB / 403.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.1368, allocations: 0 / 403.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1369, allocations: 334.8 kB / 403.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.1371, allocations: 71.95 kB / 403.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.1373, allocations: 112.2 kB / 403.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.1375, allocations: 83.97 kB / 404 MB, free: 8.953 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1375, allocations: 0 / 404 MB, free: 8.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005264/0.1381, allocations: 249.1 kB / 404.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1381, allocations: 4 kB / 404.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.1381, allocations: 8.125 kB / 404.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1381, allocations: 0 / 404.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.1383, allocations: 51.84 kB / 404.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1384, allocations: 7.984 kB / 404.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.1385, allocations: 19.98 kB / 404.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.1385, allocations: 12 kB / 404.3 MB, free: 8.602 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.0001319/0.1387, allocations: 126.7 kB / 404.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.1387, allocations: 27.67 kB / 404.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.1392, allocations: 215.2 kB / 404.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1393, allocations: 4 kB / 404.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1393, allocations: 0 / 404.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1393, allocations: 0 / 404.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.1396, allocations: 285.5 kB / 405 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1396, allocations: 8 kB / 405 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.1398, allocations: 31.97 kB / 405 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1398, allocations: 4 kB / 405 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.1398, allocations: 7.938 kB / 405 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1398, allocations: 0 / 405 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1398, allocations: 7.875 kB / 405 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.1403, allocations: 295.2 kB / 405.3 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.1404, allocations: 116.8 kB / 405.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.1405, allocations: 0 / 405.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.1406, allocations: 19.94 kB / 405.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.1407, allocations: 15.97 kB / 405.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1407, allocations: 4 kB / 405.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1409, allocations: 178 kB / 405.6 MB, free: 7.188 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1409, allocations: 4 kB / 405.6 MB, free: 7.184 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.1413, allocations: 91.92 kB / 405.7 MB, free: 7.094 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.0002933/0.1416, allocations: 163.1 kB / 405.9 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004751/0.1421, allocations: 179.3 kB / 406.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1421, allocations: 0 / 406.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.1423, allocations: 84.2 kB / 406.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.1428, allocations: 53.02 kB / 406.2 MB, free: 6.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00099/0.1438, allocations: 0.5355 MB / 406.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1442, allocations: 0.7365 MB / 407.5 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.1443, allocations: 42.8 kB / 407.5 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.1444, allocations: 19.44 kB / 407.5 MB, free: 5.238 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1444, allocations: 0 / 407.5 MB, free: 5.238 MB / 302.1 MB Notification: Performance of Templates: time 0.007004/0.1514, allocations: 3.469 MB / 411 MB, free: 1.805 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: