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.000897/0.000897, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005617/0.005618, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.358/1.358, allocations: 205.4 MB / 222.5 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0548/0.0548, allocations: 11.86 MB / 282.6 MB, free: 9.355 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.0009767/0.0009768, allocations: 16.22 kB / 343.5 MB, free: 22.12 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07988/0.08087, allocations: 50.22 MB / 393.8 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.00363/0.08454, allocations: 3.421 MB / 397.2 MB, free: 416 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.08725, allocations: 1.875 MB / 399 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.08754, allocations: 7.938 kB / 399.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.08789, allocations: 87.55 kB / 399.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004615/0.08836, allocations: 171 kB / 399.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006641/0.08904, allocations: 263.4 kB / 399.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005419/0.08959, allocations: 497.7 kB / 400 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.08979, allocations: 95.25 kB / 400.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.09004, allocations: 147.4 kB / 400.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.09032, allocations: 195 kB / 400.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.09038, allocations: 16 kB / 400.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.09077, allocations: 207.8 kB / 400.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.445e-05/0.09087, allocations: 67.62 kB / 400.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.09106, allocations: 208.7 kB / 401 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006149/0.09168, allocations: 0.5454 MB / 401.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.0917, allocations: 3.938 kB / 401.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0917, allocations: 3.938 kB / 401.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.09172, allocations: 0 / 401.5 MB, free: 12.04 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.0009682/0.0927, allocations: 0.6234 MB / 402.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.09274, allocations: 8.031 kB / 402.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.09289, allocations: 48.45 kB / 402.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.09328, allocations: 319.4 kB / 402.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.09333, allocations: 28.5 kB / 402.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.09339, allocations: 32 kB / 402.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/0.09395, allocations: 311.7 kB / 402.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.09398, allocations: 4 kB / 402.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.09402, allocations: 8 kB / 402.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.09403, allocations: 8 kB / 402.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004963/0.09453, allocations: 266 kB / 403.2 MB, free: 10.31 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.001841/0.09639, allocations: 1.492 MB / 404.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.09679, allocations: 226.5 kB / 404.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.09698, allocations: 100.8 kB / 405 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.583e-05/0.09708, allocations: 93.09 kB / 405.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.09711, allocations: 30.56 kB / 405.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.09712, allocations: 0 / 405.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.002024/0.09915, allocations: 0.9068 MB / 406 MB, free: 7.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.09921, allocations: 63.33 kB / 406.1 MB, free: 7.141 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.0004131/0.09963, allocations: 377.7 kB / 406.4 MB, free: 6.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.09966, allocations: 33.64 kB / 406.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.0998, allocations: 192.4 kB / 406.6 MB, free: 6.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.823e-05/0.09988, allocations: 90.66 kB / 406.7 MB, free: 6.441 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.09994, allocations: 29.7 kB / 406.8 MB, free: 6.406 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1001, allocations: 342.8 kB / 407.1 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.1003, allocations: 105.4 kB / 407.2 MB, free: 5.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.1005, allocations: 156.7 kB / 407.4 MB, free: 5.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.101, allocations: 275.7 kB / 407.6 MB, free: 5.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.101, allocations: 4 kB / 407.6 MB, free: 5.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005964/0.1016, allocations: 325 kB / 407.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1016, allocations: 8.031 kB / 407.9 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1016, allocations: 7.938 kB / 408 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1017, allocations: 4 kB / 408 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.102, allocations: 75.89 kB / 408 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.102, allocations: 7.938 kB / 408 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.1022, allocations: 15.98 kB / 408.1 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.1023, allocations: 16 kB / 408.1 MB, free: 5.02 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.0002169/0.1025, allocations: 173.8 kB / 408.2 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.1025, allocations: 31.62 kB / 408.3 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/0.1032, allocations: 330.3 kB / 408.6 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1032, allocations: 4 kB / 408.6 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1032, allocations: 0 / 408.6 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1032, allocations: 0 / 408.6 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.1043, allocations: 0.7717 MB / 409.4 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1043, allocations: 0 / 409.4 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.1047, allocations: 75.89 kB / 409.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1047, allocations: 48 / 409.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.1047, allocations: 15.97 kB / 409.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1047, allocations: 0 / 409.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1047, allocations: 4 kB / 409.5 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007882/0.1055, allocations: 0.4989 MB / 410 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.1057, allocations: 140.7 kB / 410.1 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.1057, allocations: 16.05 kB / 410.1 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.1059, allocations: 15.91 kB / 410.1 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.106, allocations: 15.97 kB / 410.1 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.106, allocations: 15.98 kB / 410.2 MB, free: 2.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002755/0.1063, allocations: 271.2 kB / 410.4 MB, free: 2.555 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1063, allocations: 3.938 kB / 410.4 MB, free: 2.551 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004235/0.1067, allocations: 116 kB / 410.5 MB, free: 2.438 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.0008513/0.1076, allocations: 425.4 kB / 411 MB, free: 2.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005546/0.1082, allocations: 235.8 kB / 411.2 MB, free: 1.891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1082, allocations: 0 / 411.2 MB, free: 1.891 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.1084, allocations: 132.8 kB / 411.3 MB, free: 1.762 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.1091, allocations: 101.8 kB / 411.4 MB, free: 1.664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.1106, allocations: 0.9788 MB / 412.4 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.1109, allocations: 0.7951 MB / 413.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002422/0.1112, allocations: 59.25 kB / 413.3 MB, free: 15.78 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.1113, allocations: 39.42 kB / 413.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1113, allocations: 0 / 413.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of Templates: time 0.01089/0.1222, allocations: 5.727 MB / 419 MB, free: 10.02 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: