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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00118/0.00118, allocations: 191.4 kB / 16.14 MB, free: 6.707 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.142/1.142, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04903/0.04903, allocations: 11.84 MB / 281.2 MB, free: 9.66 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.001332/0.001332, allocations: 71.55 kB / 341.2 MB, free: 22.32 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06456/0.0659, allocations: 49.23 MB / 390.5 MB, free: 5.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.004023/0.06995, allocations: 3.795 MB / 394.3 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.07219, allocations: 1.906 MB / 396.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.07234, allocations: 7.938 kB / 396.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.07265, allocations: 95.55 kB / 396.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.07299, allocations: 179 kB / 396.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.07349, allocations: 251.4 kB / 396.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003936/0.07389, allocations: 0.49 MB / 397.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.07406, allocations: 99.53 kB / 397.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.07423, allocations: 155.3 kB / 397.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.07445, allocations: 191.2 kB / 397.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.0745, allocations: 20 kB / 397.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.0748, allocations: 207.8 kB / 397.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.683e-05/0.0749, allocations: 79.67 kB / 397.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.07505, allocations: 194.9 kB / 398.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005066/0.07557, allocations: 0.5569 MB / 398.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.07558, allocations: 0 / 398.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.07558, allocations: 0 / 398.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.07559, allocations: 0 / 398.7 MB, free: 12.81 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.0008784/0.07648, allocations: 0.6934 MB / 399.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.07651, allocations: 8.031 kB / 399.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.027e-05/0.07658, allocations: 66.73 kB / 399.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.07669, allocations: 44.47 kB / 399.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.07702, allocations: 335 kB / 399.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.07705, allocations: 24.5 kB / 399.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.07709, allocations: 28 kB / 399.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004771/0.07757, allocations: 315.6 kB / 400.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.0776, allocations: 0 / 400.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.07763, allocations: 12 kB / 400.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.07764, allocations: 8 kB / 400.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.0781, allocations: 266 kB / 400.4 MB, free: 10.93 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.001658/0.07976, allocations: 1.481 MB / 401.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.08014, allocations: 222.5 kB / 402.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.08031, allocations: 96.81 kB / 402.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.419e-05/0.08041, allocations: 89.11 kB / 402.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.08043, allocations: 34.56 kB / 402.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.302e-06/0.08044, allocations: 0 / 402.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001889/0.08233, allocations: 0.8678 MB / 403.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.08237, allocations: 63.28 kB / 403.3 MB, free: 7.82 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.0003646/0.08274, allocations: 381.5 kB / 403.7 MB, free: 7.441 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.08277, allocations: 29.7 kB / 403.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.08289, allocations: 188.6 kB / 403.9 MB, free: 7.215 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.08295, allocations: 94.56 kB / 404 MB, free: 7.121 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.492e-05/0.08304, allocations: 57.97 kB / 404 MB, free: 7.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.08315, allocations: 338.8 kB / 404.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.08335, allocations: 101.6 kB / 404.5 MB, free: 6.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.08358, allocations: 156.7 kB / 404.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.08402, allocations: 259.7 kB / 404.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.08403, allocations: 4.438 kB / 404.9 MB, free: 6.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005295/0.08456, allocations: 304.9 kB / 405.2 MB, free: 5.848 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.08459, allocations: 12.16 kB / 405.2 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.0846, allocations: 4 kB / 405.2 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.08462, allocations: 7.938 kB / 405.2 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.08495, allocations: 79.89 kB / 405.3 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.08497, allocations: 7.938 kB / 405.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.08514, allocations: 19.89 kB / 405.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.08518, allocations: 12 kB / 405.3 MB, free: 5.707 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.000179/0.08536, allocations: 173.8 kB / 405.5 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.08543, allocations: 35.56 kB / 405.5 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000598/0.08603, allocations: 313.9 kB / 405.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.08605, allocations: 4 kB / 405.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.08606, allocations: 0 / 405.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.08607, allocations: 4 kB / 405.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.087, allocations: 0.76 MB / 406.6 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.08702, allocations: 0 / 406.6 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.08735, allocations: 75.89 kB / 406.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.08736, allocations: 7.938 kB / 406.7 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.08739, allocations: 11.98 kB / 406.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.0874, allocations: 4 kB / 406.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.0874, allocations: 0 / 406.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.08814, allocations: 498.9 kB / 407.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.08827, allocations: 136.7 kB / 407.3 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.08832, allocations: 8 kB / 407.3 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.08852, allocations: 20.05 kB / 407.3 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.08858, allocations: 15.97 kB / 407.3 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.0886, allocations: 12 kB / 407.4 MB, free: 3.547 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.08884, allocations: 275.2 kB / 407.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08885, allocations: 0 / 407.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003829/0.08924, allocations: 108 kB / 407.7 MB, free: 3.172 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.001631/0.09088, allocations: 1.367 MB / 409.1 MB, free: 1.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004396/0.09133, allocations: 223.8 kB / 409.3 MB, free: 1.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.09134, allocations: 0 / 409.3 MB, free: 1.676 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.09155, allocations: 124.3 kB / 409.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.09208, allocations: 97.45 kB / 409.5 MB, free: 1.461 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.09604, allocations: 3.64 MB / 413.2 MB, free: 13.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.09634, allocations: 0.799 MB / 414 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.09655, allocations: 63.25 kB / 414 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.09672, allocations: 123.4 kB / 414.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09673, allocations: 0 / 414.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.116, allocations: 9.285 MB / 423.4 MB, free: 3.375 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.1162, allocations: 240 kB / 423.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/1.789, allocations: 0 / 423.7 MB, free: 3.117 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)