Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",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.004642/0.004642, allocations: 101.6 kB / 15.73 MB, free: 6.039 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.001079/0.001079, allocations: 193.4 kB / 16.68 MB, free: 5.957 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.219/1.219, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05168/0.05168, allocations: 11.84 MB / 281.7 MB, free: 212 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.001418/0.001418, allocations: 76.34 kB / 391.8 MB, free: 45.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07479/0.07622, allocations: 49.24 MB / 441.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002295/0.07855, allocations: 1.933 MB / 443 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.08075, allocations: 1.862 MB / 444.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.692e-05/0.08086, allocations: 0 / 444.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.08109, allocations: 39.69 kB / 444.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.08137, allocations: 87.39 kB / 445 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006415/0.08202, allocations: 341.5 kB / 445.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.08222, allocations: 179.1 kB / 445.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.08233, allocations: 29.53 kB / 445.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.837e-05/0.08241, allocations: 59.78 kB / 445.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.552e-05/0.08251, allocations: 67.72 kB / 445.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.08254, allocations: 8 kB / 445.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.08294, allocations: 235.7 kB / 445.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.08297, allocations: 23.86 kB / 445.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.745e-05/0.08306, allocations: 79.59 kB / 446 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.08343, allocations: 288.2 kB / 446.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.08345, allocations: 0 / 446.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08346, allocations: 0 / 446.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.08347, allocations: 0 / 446.3 MB, free: 13.35 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005213/0.08399, allocations: 470.8 kB / 446.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.08404, allocations: 11.89 kB / 446.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.08408, allocations: 46.69 kB / 446.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.08413, allocations: 12.84 kB / 446.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.08439, allocations: 220 kB / 447 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.08441, allocations: 12.38 kB / 447 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.08444, allocations: 15.92 kB / 447 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.08466, allocations: 121.6 kB / 447.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.08467, allocations: 0 / 447.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.08469, allocations: 7.938 kB / 447.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.0847, allocations: 4 kB / 447.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.0849, allocations: 119.8 kB / 447.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.08592, allocations: 0.9228 MB / 448.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.08605, allocations: 50.56 kB / 448.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/0.0861, allocations: 24.98 kB / 448.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.08622, allocations: 93.09 kB / 448.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.08625, allocations: 38.56 kB / 448.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.08626, allocations: 0 / 448.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002516/0.08652, allocations: 101.4 kB / 448.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.08656, allocations: 55.41 kB / 448.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.08674, allocations: 203.8 kB / 448.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.08676, allocations: 25.7 kB / 448.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.08683, allocations: 123.8 kB / 448.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.08686, allocations: 23.73 kB / 448.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.08691, allocations: 29.72 kB / 449 MB, free: 10.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.08702, allocations: 326.8 kB / 449.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.39e-05/0.08709, allocations: 27.98 kB / 449.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.608e-05/0.08715, allocations: 31.98 kB / 449.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.08726, allocations: 64.78 kB / 449.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.08727, allocations: 192 / 449.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001834/0.08746, allocations: 117.4 kB / 449.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.08748, allocations: 8 kB / 449.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.08749, allocations: 0 / 449.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.08751, allocations: 4.031 kB / 449.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.699e-05/0.08761, allocations: 19.98 kB / 449.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.08762, allocations: 0 / 449.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.08769, allocations: 15.84 kB / 449.6 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.08771, allocations: 0 / 449.6 MB, free: 9.688 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001072/0.08782, allocations: 121.8 kB / 449.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.08786, allocations: 11.89 kB / 449.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.08808, allocations: 110.5 kB / 449.8 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.0881, allocations: 4.094 kB / 449.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.08811, allocations: 7.875 kB / 449.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.08812, allocations: 0 / 449.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.08853, allocations: 387.2 kB / 450.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.08854, allocations: 0 / 450.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.0886, allocations: 8 kB / 450.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.08861, allocations: 4 kB / 450.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.08862, allocations: 7.984 kB / 450.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.08863, allocations: 4.031 kB / 450.2 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.08864, allocations: 4.25 kB / 450.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.08881, allocations: 188.2 kB / 450.4 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.08889, allocations: 96.91 kB / 450.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.08892, allocations: 4 kB / 450.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.089, allocations: 0 / 450.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.08903, allocations: 11.95 kB / 450.5 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.08905, allocations: 8 kB / 450.5 MB, free: 8.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.08917, allocations: 155 kB / 450.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08918, allocations: 0 / 450.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000322/0.08951, allocations: 79.92 kB / 450.7 MB, free: 8.387 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (5): * Single equations (assignments): 5 * 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.0006073/0.09012, allocations: 0.795 MB / 451.5 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.09031, allocations: 59.97 kB / 451.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.09032, allocations: 0 / 451.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.012e-05/0.09037, allocations: 27.92 kB / 451.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.09072, allocations: 47.05 kB / 451.7 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.09254, allocations: 1.82 MB / 453.5 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.09281, allocations: 0.7124 MB / 454.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.591e-05/0.0929, allocations: 25.53 kB / 454.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.19e-05/0.09297, allocations: 43.42 kB / 454.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09298, allocations: 0 / 454.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.1152, allocations: 5.135 MB / 459.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/7.522, allocations: 0 / 459.4 MB, free: 15.64 MB / 350.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)