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: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.206/1.206, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05299/0.05299, allocations: 11.84 MB / 281.6 MB, free: 9.387 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.001489/0.001489, allocations: 71.34 kB / 341.9 MB, free: 21.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06645/0.06795, allocations: 49.22 MB / 391.2 MB, free: 4.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.004067/0.07205, allocations: 3.259 MB / 394.4 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.0745, allocations: 1.824 MB / 396.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.0747, allocations: 7.938 kB / 396.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.07505, allocations: 99.3 kB / 396.3 MB, free: 15.38 MB / 302.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.0004339/0.0755, allocations: 198.7 kB / 396.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006551/0.07616, allocations: 327.1 kB / 396.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.07664, allocations: 497.8 kB / 397.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.07684, allocations: 119.4 kB / 397.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.07707, allocations: 183.3 kB / 397.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.07734, allocations: 199.1 kB / 397.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.07741, allocations: 32 kB / 397.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.07778, allocations: 231.7 kB / 398.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.778e-05/0.07787, allocations: 87.73 kB / 398.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.07806, allocations: 207 kB / 398.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005893/0.07866, allocations: 0.5648 MB / 398.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.07867, allocations: 0 / 398.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.07868, allocations: 0 / 398.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.07869, allocations: 3.984 kB / 398.9 MB, free: 12.77 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.0009735/0.07967, allocations: 0.6895 MB / 399.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.07971, allocations: 11.89 kB / 399.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.07978, allocations: 62.73 kB / 399.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.0799, allocations: 48.45 kB / 399.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.08026, allocations: 335 kB / 400.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.08029, allocations: 24.56 kB / 400.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.08034, allocations: 28 kB / 400.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.08083, allocations: 315.6 kB / 400.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.08085, allocations: 0 / 400.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.08088, allocations: 12 kB / 400.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.0809, allocations: 12 kB / 400.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.08138, allocations: 258.1 kB / 400.7 MB, free: 10.89 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.001738/0.08312, allocations: 1.481 MB / 402.2 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.08351, allocations: 226.8 kB / 402.4 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.0837, allocations: 96.92 kB / 402.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.23e-05/0.08379, allocations: 93.05 kB / 402.6 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.08383, allocations: 34.56 kB / 402.6 MB, free: 8.766 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.273e-06/0.08383, allocations: 0 / 402.6 MB, free: 8.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001921/0.08576, allocations: 0.8612 MB / 403.5 MB, free: 7.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.0858, allocations: 59.34 kB / 403.6 MB, free: 7.785 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.0003772/0.08619, allocations: 373.6 kB / 403.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.08623, allocations: 37.7 kB / 404 MB, free: 7.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.08634, allocations: 192.4 kB / 404.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.87e-05/0.08641, allocations: 94.64 kB / 404.2 MB, free: 7.078 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-05/0.0865, allocations: 57.97 kB / 404.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.08662, allocations: 338.8 kB / 404.6 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.08684, allocations: 101.6 kB / 404.7 MB, free: 6.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.08707, allocations: 152.8 kB / 404.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.0875, allocations: 259.7 kB / 405.1 MB, free: 6.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.08751, allocations: 0 / 405.1 MB, free: 6.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005545/0.08807, allocations: 316.9 kB / 405.4 MB, free: 5.801 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.08809, allocations: 8.562 kB / 405.4 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.0881, allocations: 4 kB / 405.5 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.08812, allocations: 4 kB / 405.5 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.08846, allocations: 83.83 kB / 405.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.08848, allocations: 4 kB / 405.5 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.08865, allocations: 15.98 kB / 405.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.08868, allocations: 11.94 kB / 405.6 MB, free: 5.672 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.0001799/0.08886, allocations: 173.9 kB / 405.7 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.525e-05/0.08894, allocations: 35.56 kB / 405.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006286/0.08957, allocations: 321.3 kB / 406.1 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.08958, allocations: 4 kB / 406.1 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.08959, allocations: 0 / 406.1 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.0896, allocations: 0 / 406.1 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009954/0.0906, allocations: 0.756 MB / 406.8 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.09061, allocations: 3.984 kB / 406.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.09094, allocations: 71.95 kB / 406.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.09096, allocations: 11.94 kB / 406.9 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.09098, allocations: 7.984 kB / 406.9 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.09099, allocations: 7.938 kB / 406.9 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.091, allocations: 0 / 406.9 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.09175, allocations: 499.4 kB / 407.4 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.09189, allocations: 136.7 kB / 407.6 MB, free: 3.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.09195, allocations: 12.06 kB / 407.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.09213, allocations: 11.98 kB / 407.6 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.09219, allocations: 23.97 kB / 407.6 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.09222, allocations: 8 kB / 407.6 MB, free: 3.508 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002567/0.09248, allocations: 275.2 kB / 407.9 MB, free: 3.242 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09248, allocations: 0 / 407.9 MB, free: 3.242 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003891/0.09288, allocations: 112 kB / 408 MB, free: 3.133 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.001697/0.09458, allocations: 1.332 MB / 409.3 MB, free: 1.891 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005486/0.09514, allocations: 244.2 kB / 409.6 MB, free: 1.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.09515, allocations: 0 / 409.6 MB, free: 1.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.09538, allocations: 128.3 kB / 409.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.09588, allocations: 121.1 kB / 409.8 MB, free: 1.414 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/0.09996, allocations: 3.536 MB / 413.4 MB, free: 13.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1003, allocations: 0.8027 MB / 414.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002087/0.1005, allocations: 59.25 kB / 414.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.1007, allocations: 127.4 kB / 414.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1007, allocations: 0 / 414.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09378/0.1945, allocations: 9.654 MB / 424 MB, free: 3.023 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.5, allocations: 3.938 kB / 424 MB, free: 3.02 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1)