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.0009654/0.0009655, allocations: 111 kB / 15.99 MB, free: 6.344 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.0009193/0.0009193, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.235/1.235, allocations: 205.1 MB / 222.8 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05016/0.05016, allocations: 11.83 MB / 281.9 MB, free: 9.629 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.001297/0.001297, allocations: 67.56 kB / 342 MB, free: 22.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06855/0.06985, allocations: 49.23 MB / 391.2 MB, free: 5.059 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.004601/0.07448, allocations: 3.803 MB / 395 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.07696, allocations: 1.863 MB / 396.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.07718, allocations: 4 kB / 396.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.07753, allocations: 91.55 kB / 397 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.07792, allocations: 179 kB / 397.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.07852, allocations: 283.6 kB / 397.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.07897, allocations: 0.4939 MB / 397.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.07918, allocations: 123.4 kB / 398 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.07938, allocations: 171.4 kB / 398.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.07963, allocations: 207.1 kB / 398.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.07969, allocations: 32 kB / 398.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.08003, allocations: 223.8 kB / 398.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.314e-05/0.08013, allocations: 91.61 kB / 398.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.0803, allocations: 203 kB / 398.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.08075, allocations: 455 kB / 399.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.08076, allocations: 0 / 399.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.08077, allocations: 0 / 399.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.08078, allocations: 0 / 399.4 MB, free: 12.84 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.0009683/0.08176, allocations: 0.6857 MB / 400.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.08179, allocations: 11.89 kB / 400.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.08192, allocations: 44.47 kB / 400.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.08228, allocations: 339.2 kB / 400.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.08231, allocations: 28.5 kB / 400.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.08236, allocations: 24 kB / 400.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.08288, allocations: 315.7 kB / 400.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.0829, allocations: 0 / 400.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.08294, allocations: 15.94 kB / 400.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.08295, allocations: 7.938 kB / 400.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.08343, allocations: 262.1 kB / 401.1 MB, free: 11.04 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.00178/0.08522, allocations: 1.485 MB / 402.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.08561, allocations: 218.6 kB / 402.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.08579, allocations: 104.8 kB / 402.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.614e-05/0.08589, allocations: 81.11 kB / 403 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.08593, allocations: 38.56 kB / 403 MB, free: 8.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.432e-06/0.08593, allocations: 0 / 403 MB, free: 8.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001975/0.08791, allocations: 0.8525 MB / 403.9 MB, free: 8.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.08796, allocations: 63.33 kB / 403.9 MB, free: 7.941 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.0003835/0.08835, allocations: 381.5 kB / 404.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.08839, allocations: 33.64 kB / 404.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.08851, allocations: 192.6 kB / 404.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.84e-05/0.08859, allocations: 94.56 kB / 404.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-05/0.08868, allocations: 53.98 kB / 404.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.0888, allocations: 346.8 kB / 405 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.08901, allocations: 101.6 kB / 405.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.08924, allocations: 160.7 kB / 405.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.08967, allocations: 251.5 kB / 405.5 MB, free: 6.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.08968, allocations: 3.984 kB / 405.5 MB, free: 6.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005379/0.09022, allocations: 304.9 kB / 405.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.09025, allocations: 12.61 kB / 405.8 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.09027, allocations: 12.16 kB / 405.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.09028, allocations: 0 / 405.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.09064, allocations: 83.89 kB / 405.9 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.09065, allocations: 4.438 kB / 405.9 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.09083, allocations: 11.98 kB / 405.9 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.09086, allocations: 12 kB / 405.9 MB, free: 5.828 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.09107, allocations: 173.7 kB / 406.1 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.09114, allocations: 35.56 kB / 406.1 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006474/0.09179, allocations: 321.8 kB / 406.5 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.0918, allocations: 4.047 kB / 406.5 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.09182, allocations: 7.984 kB / 406.5 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.09182, allocations: 0 / 406.5 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.09284, allocations: 0.76 MB / 407.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.09285, allocations: 0 / 407.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.09319, allocations: 75.89 kB / 407.3 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.09321, allocations: 0 / 407.3 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.09324, allocations: 15.98 kB / 407.3 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.09325, allocations: 4 kB / 407.3 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09325, allocations: 4 kB / 407.3 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007428/0.094, allocations: 494.8 kB / 407.8 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.09414, allocations: 132.7 kB / 407.9 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.0942, allocations: 8 kB / 407.9 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.0944, allocations: 20.05 kB / 408 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.09446, allocations: 19.97 kB / 408 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.09449, allocations: 8 kB / 408 MB, free: 3.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.09476, allocations: 275.2 kB / 408.3 MB, free: 3.395 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.09476, allocations: 0 / 408.3 MB, free: 3.395 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003982/0.09517, allocations: 112 kB / 408.4 MB, free: 3.285 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 (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.0008384/0.09601, allocations: 426.1 kB / 408.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005409/0.09656, allocations: 248.1 kB / 409 MB, free: 2.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.09658, allocations: 0 / 409 MB, free: 2.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.0968, allocations: 128.3 kB / 409.2 MB, free: 2.605 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.09733, allocations: 110.3 kB / 409.3 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.09857, allocations: 0.9378 MB / 410.2 MB, free: 1.523 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.0989, allocations: 0.799 MB / 411 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.09901, allocations: 43.36 kB / 411 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.09902, allocations: 0 / 411 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of Templates: time 0.00717/0.1062, allocations: 5.812 MB / 416.9 MB, free: 10.84 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile (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)