Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00094/0.0009401, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001094/0.001094, allocations: 168.7 kB / 15.95 MB, free: 204 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.685/1.685, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05937/0.05937, allocations: 11.85 MB / 282.2 MB, free: 9.445 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.0007419/0.0007419, allocations: 24 kB / 342.9 MB, free: 22.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1342, allocations: 50.21 MB / 393.1 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.004898/0.1391, allocations: 3.271 MB / 396.4 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.1428, allocations: 1.755 MB / 398.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003401/0.1431, allocations: 4 kB / 398.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.1436, allocations: 91.48 kB / 398.3 MB, free: 15.07 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0006035/0.1442, allocations: 210.5 kB / 398.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.1452, allocations: 243.3 kB / 398.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007832/0.146, allocations: 469.8 kB / 399.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.1462, allocations: 85.55 kB / 399.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.1464, allocations: 147.4 kB / 399.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.1468, allocations: 179.2 kB / 399.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.1468, allocations: 12 kB / 399.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004199/0.1472, allocations: 195.8 kB / 399.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.292e-05/0.1473, allocations: 71.69 kB / 399.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1475, allocations: 97.52 kB / 399.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.148, allocations: 431.2 kB / 400.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.148, allocations: 0 / 400.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.148, allocations: 0 / 400.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.148, allocations: 0 / 400.4 MB, free: 12.97 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001145/0.1492, allocations: 0.6388 MB / 401 MB, free: 12.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.1493, allocations: 8.031 kB / 401 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.1494, allocations: 47.48 kB / 401.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.1499, allocations: 314.2 kB / 401.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.1499, allocations: 24.56 kB / 401.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/0.15, allocations: 31.98 kB / 401.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005799/0.1506, allocations: 311.7 kB / 401.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1506, allocations: 0 / 401.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.1506, allocations: 23.88 kB / 401.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.1506, allocations: 7.953 kB / 401.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/0.1512, allocations: 262.1 kB / 402 MB, free: 11.22 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/0.1534, allocations: 1.477 MB / 403.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.1539, allocations: 222.6 kB / 403.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.1542, allocations: 97.2 kB / 403.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.1543, allocations: 89.09 kB / 403.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.1543, allocations: 34.56 kB / 403.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 3.517e-06/0.1543, allocations: 0 / 403.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.002331/0.1567, allocations: 0.9029 MB / 404.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.1567, allocations: 55.41 kB / 404.9 MB, free: 8.086 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 sinusoid.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.0005063/0.1573, allocations: 377.6 kB / 405.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.1573, allocations: 29.7 kB / 405.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1574, allocations: 188.6 kB / 405.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.016e-05/0.1575, allocations: 98.56 kB / 405.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.1576, allocations: 8 kB / 405.6 MB, free: 7.379 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1577, allocations: 338.8 kB / 405.9 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.158, allocations: 105.4 kB / 406 MB, free: 6.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.1582, allocations: 160.7 kB / 406.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.1584, allocations: 108.1 kB / 406.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1585, allocations: 3.984 kB / 406.3 MB, free: 6.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005862/0.1591, allocations: 312.9 kB / 406.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.1591, allocations: 12.16 kB / 406.6 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.1591, allocations: 8 kB / 406.6 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.1591, allocations: 4 kB / 406.6 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.1595, allocations: 75.89 kB / 406.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.1596, allocations: 7.938 kB / 406.7 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.1597, allocations: 23.92 kB / 406.7 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.1598, allocations: 16 kB / 406.7 MB, free: 6.184 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002557/0.16, allocations: 169.8 kB / 406.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.1601, allocations: 35.53 kB / 406.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007012/0.1608, allocations: 329.9 kB / 407.2 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1608, allocations: 8.031 kB / 407.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1608, allocations: 0 / 407.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1609, allocations: 0 / 407.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.162, allocations: 0.7679 MB / 408 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.162, allocations: 0 / 408 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.1624, allocations: 71.89 kB / 408.1 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.1624, allocations: 4 kB / 408.1 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.1624, allocations: 7.984 kB / 408.1 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1624, allocations: 7.938 kB / 408.1 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1624, allocations: 0 / 408.1 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008351/0.1633, allocations: 0.4951 MB / 408.6 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.1634, allocations: 152.5 kB / 408.7 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.1635, allocations: 4 kB / 408.7 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.1637, allocations: 24.05 kB / 408.8 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.1637, allocations: 15.97 kB / 408.8 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.1638, allocations: 15.98 kB / 408.8 MB, free: 3.984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002953/0.1641, allocations: 267.2 kB / 409.1 MB, free: 3.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1641, allocations: 0 / 409.1 MB, free: 3.723 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004965/0.1646, allocations: 116 kB / 409.2 MB, free: 3.609 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (30): * Single equations (assignments): 30 * 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.001066/0.1657, allocations: 414.7 kB / 409.6 MB, free: 3.297 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005853/0.1663, allocations: 235.8 kB / 409.8 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1663, allocations: 0 / 409.8 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.1665, allocations: 128.3 kB / 409.9 MB, free: 2.941 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000611/0.1671, allocations: 102.3 kB / 410 MB, free: 2.844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.1686, allocations: 0.9395 MB / 411 MB, free: 1.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.1691, allocations: 0.7951 MB / 411.8 MB, free: 1.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002542/0.1694, allocations: 59.25 kB / 411.8 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.1695, allocations: 39.42 kB / 411.9 MB, free: 0.957 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1695, allocations: 0 / 411.9 MB, free: 0.957 MB / 302.1 MB Notification: Performance of Templates: time 0.01098/0.1805, allocations: 5.58 MB / 417.4 MB, free: 11.39 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile Environment - environmentSimulation: (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1) Environment - environmentSimulation: