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.000928/0.0009281, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001103/0.001103, allocations: 195.4 kB / 16.25 MB, free: 6.621 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.184/1.184, allocations: 205.1 MB / 222.1 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05018/0.05018, allocations: 11.83 MB / 281.3 MB, free: 9.477 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.001322/0.001322, allocations: 72.08 kB / 341.4 MB, free: 22.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06687/0.0682, allocations: 49.22 MB / 390.6 MB, free: 4.922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.004451/0.07269, allocations: 3.795 MB / 394.4 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.07516, allocations: 1.867 MB / 396.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.07533, allocations: 11.94 kB / 396.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.07568, allocations: 95.55 kB / 396.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.07606, allocations: 167 kB / 396.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.07663, allocations: 295.2 kB / 396.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.07709, allocations: 497.8 kB / 397.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.07729, allocations: 115.5 kB / 397.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.07749, allocations: 183.3 kB / 397.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.07773, allocations: 203.1 kB / 397.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.07778, allocations: 35.94 kB / 397.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.0781, allocations: 231.8 kB / 398.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.036e-05/0.07819, allocations: 87.67 kB / 398.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.07835, allocations: 199 kB / 398.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005457/0.0789, allocations: 0.5686 MB / 398.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.07892, allocations: 0 / 398.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.07892, allocations: 0 / 398.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.07893, allocations: 0 / 398.9 MB, free: 12.58 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.000952/0.07989, allocations: 0.7012 MB / 399.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.07993, allocations: 11.89 kB / 399.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.538e-05/0.08, allocations: 70.72 kB / 399.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.08012, allocations: 40.47 kB / 399.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.08046, allocations: 335 kB / 400.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.0805, allocations: 20.56 kB / 400.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.08054, allocations: 27.94 kB / 400.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.08106, allocations: 319.6 kB / 400.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.08108, allocations: 0 / 400.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.08111, allocations: 12 kB / 400.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.08113, allocations: 8 kB / 400.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.08158, allocations: 262 kB / 400.7 MB, free: 10.69 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.001692/0.08328, allocations: 1.477 MB / 402.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.08366, allocations: 234.5 kB / 402.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.08383, allocations: 88.83 kB / 402.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.943e-05/0.08393, allocations: 89.09 kB / 402.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.08395, allocations: 34.56 kB / 402.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.252e-06/0.08396, allocations: 0 / 402.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001861/0.08583, allocations: 0.8639 MB / 403.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.08587, allocations: 63.28 kB / 403.6 MB, free: 7.586 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.0003748/0.08625, allocations: 377.6 kB / 403.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.08629, allocations: 29.7 kB / 404 MB, free: 7.176 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.08641, allocations: 188.6 kB / 404.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.08647, allocations: 94.56 kB / 404.2 MB, free: 6.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.304e-05/0.08656, allocations: 57.97 kB / 404.3 MB, free: 6.828 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.08668, allocations: 342.8 kB / 404.6 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.08689, allocations: 105.6 kB / 404.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.08711, allocations: 144.8 kB / 404.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.08752, allocations: 263.7 kB / 405.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.08753, allocations: 0 / 405.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005283/0.08806, allocations: 308.9 kB / 405.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.08808, allocations: 10.28 kB / 405.4 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.0881, allocations: 7.984 kB / 405.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.08811, allocations: 7.938 kB / 405.5 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.08846, allocations: 88.09 kB / 405.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.08847, allocations: 7.938 kB / 405.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.08866, allocations: 16.34 kB / 405.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.08869, allocations: 15.98 kB / 405.6 MB, free: 5.469 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.0001826/0.08888, allocations: 165.8 kB / 405.7 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.08895, allocations: 35.56 kB / 405.8 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006125/0.08957, allocations: 321.8 kB / 406.1 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.08958, allocations: 0 / 406.1 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.08959, allocations: 4 kB / 406.1 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.0896, allocations: 3.984 kB / 406.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009626/0.09057, allocations: 0.7562 MB / 406.9 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.09058, allocations: 0 / 406.9 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.09092, allocations: 83.88 kB / 406.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.09094, allocations: 0 / 406.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.09096, allocations: 12 kB / 407 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.09097, allocations: 0 / 407 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.09098, allocations: 0 / 407 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007174/0.0917, allocations: 0.4911 MB / 407.4 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.09183, allocations: 132.7 kB / 407.6 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.09188, allocations: 7.984 kB / 407.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.09208, allocations: 12 kB / 407.6 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.09214, allocations: 15.97 kB / 407.6 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.09216, allocations: 15.98 kB / 407.6 MB, free: 3.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000247/0.09242, allocations: 275.2 kB / 407.9 MB, free: 3.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09242, allocations: 0 / 407.9 MB, free: 3.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.09281, allocations: 116 kB / 408 MB, free: 2.938 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.001715/0.09453, allocations: 1.353 MB / 409.4 MB, free: 1.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005141/0.09506, allocations: 243.8 kB / 409.6 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.09507, allocations: 0 / 409.6 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.09528, allocations: 123.8 kB / 409.7 MB, free: 1.312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.09578, allocations: 105.3 kB / 409.8 MB, free: 1.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.09991, allocations: 3.653 MB / 413.5 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1002, allocations: 0.795 MB / 414.3 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.1005, allocations: 63.17 kB / 414.3 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.1006, allocations: 123.4 kB / 414.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1006, allocations: 0 / 414.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.1213, allocations: 9.536 MB / 424 MB, free: 2.867 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.1215, allocations: 240.2 kB / 424.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/1.91, allocations: 3.938 kB / 424.2 MB, free: 2.605 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)