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.001574/0.001574, allocations: 111.5 kB / 16.42 MB, free: 6.504 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.001175/0.001175, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.424/1.424, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0554/0.0554, allocations: 11.85 MB / 282.4 MB, free: 224 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.001517/0.001517, allocations: 67.7 kB / 393 MB, free: 45.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08915/0.09068, allocations: 49.23 MB / 442.2 MB, free: 2.082 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 sinusoid.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.004633/0.09536, allocations: 3.256 MB / 445.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.09803, allocations: 1.828 MB / 447.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.09824, allocations: 4 kB / 447.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.09864, allocations: 103.3 kB / 447.4 MB, free: 12.86 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004681/0.09911, allocations: 210.7 kB / 447.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007076/0.09983, allocations: 338.5 kB / 448 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.1003, allocations: 0.49 MB / 448.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.1005, allocations: 123.4 kB / 448.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.1007, allocations: 175.3 kB / 448.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.101, allocations: 207.1 kB / 448.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.1011, allocations: 32 kB / 449 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003607/0.1014, allocations: 223.8 kB / 449.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.595e-05/0.1016, allocations: 95.61 kB / 449.3 MB, free: 11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.1017, allocations: 195 kB / 449.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006808/0.1024, allocations: 0.5803 MB / 450.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1024, allocations: 0 / 450.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1025, allocations: 0 / 450.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1025, allocations: 4 kB / 450.1 MB, free: 10.22 MB / 334.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.001034/0.1035, allocations: 0.6896 MB / 450.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1036, allocations: 15.88 kB / 450.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.1037, allocations: 44.47 kB / 450.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.1041, allocations: 327.4 kB / 451.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1041, allocations: 28.44 kB / 451.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.1042, allocations: 24 kB / 451.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.1047, allocations: 323.6 kB / 451.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1048, allocations: 0 / 451.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.1048, allocations: 12 kB / 451.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1048, allocations: 8 kB / 451.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.1053, allocations: 262 kB / 451.8 MB, free: 8.41 MB / 334.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.001888/0.1072, allocations: 1.469 MB / 453.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.1076, allocations: 226.5 kB / 453.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.1078, allocations: 92.83 kB / 453.6 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.585e-05/0.1079, allocations: 89.09 kB / 453.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.108, allocations: 46.5 kB / 453.7 MB, free: 6.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.108, allocations: 0 / 453.7 MB, free: 6.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.002045/0.11, allocations: 0.859 MB / 454.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.1101, allocations: 55.41 kB / 454.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.1105, allocations: 377.6 kB / 455 MB, free: 4.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1105, allocations: 33.64 kB / 455 MB, free: 4.895 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.1106, allocations: 188.5 kB / 455.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.1107, allocations: 86.66 kB / 455.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.1108, allocations: 69.88 kB / 455.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.111, allocations: 346.8 kB / 455.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.1112, allocations: 93.94 kB / 455.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.1114, allocations: 160.6 kB / 455.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.1119, allocations: 249 kB / 456.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1119, allocations: 0 / 456.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000595/0.1125, allocations: 321.1 kB / 456.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1125, allocations: 4 kB / 456.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1125, allocations: 4.219 kB / 456.5 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1126, allocations: 11.94 kB / 456.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.1129, allocations: 83.81 kB / 456.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1129, allocations: 4 kB / 456.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.1131, allocations: 8 kB / 456.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.1131, allocations: 19.98 kB / 456.6 MB, free: 3.199 MB / 334.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.0002132/0.1134, allocations: 169.7 kB / 456.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.1134, allocations: 39.53 kB / 456.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006413/0.1141, allocations: 309.5 kB / 457.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1141, allocations: 0 / 457.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1141, allocations: 3.938 kB / 457.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.1143, allocations: 136.7 kB / 457.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.1143, allocations: 8 kB / 457.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.1146, allocations: 15.98 kB / 457.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.1146, allocations: 15.97 kB / 457.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007364/0.1154, allocations: 385.5 kB / 457.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000851/0.1162, allocations: 0.5762 MB / 458.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002086/0.1164, allocations: 112 kB / 458.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002787/0.1167, allocations: 275.2 kB / 458.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of Backend: time 4.8e-07/0.1167, allocations: 0 / 458.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.1184, allocations: 0.5891 MB / 459.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of SimCode: time 0.001463/0.1199, allocations: 1.246 MB / 460.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of Templates: time 0.01103/0.1309, allocations: 6.665 MB / 467.1 MB, free: 8.738 MB / 350.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)