Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.ThrottleValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2",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.001226/0.001226, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001297/0.001297, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05063/0.05063, allocations: 11.84 MB / 282.2 MB, free: 9.488 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.0005318/0.0005318, allocations: 20.2 kB / 343 MB, free: 22.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07811/0.07866, allocations: 50.21 MB / 393.2 MB, free: 4.152 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.002759/0.08145, allocations: 2.551 MB / 395.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.08406, allocations: 2.083 MB / 397.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.0842, allocations: 4 kB / 397.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.08448, allocations: 91.47 kB / 397.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.08489, allocations: 215.4 kB / 398.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.08561, allocations: 347 kB / 398.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.08595, allocations: 263.3 kB / 398.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.08607, allocations: 48.94 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.08624, allocations: 115.5 kB / 398.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.08643, allocations: 143.4 kB / 399 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.08647, allocations: 12 kB / 399 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.08688, allocations: 243.7 kB / 399.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.34e-05/0.08697, allocations: 59.75 kB / 399.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.08703, allocations: 77.52 kB / 399.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.08747, allocations: 355.2 kB / 399.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.08748, allocations: 0 / 399.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.08749, allocations: 0 / 399.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.0875, allocations: 0 / 399.8 MB, free: 13.55 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007297/0.08823, allocations: 0.5921 MB / 400.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.08828, allocations: 8.031 kB / 400.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.455e-05/0.08834, allocations: 50.55 kB / 400.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.08841, allocations: 39.58 kB / 400.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.08874, allocations: 286.3 kB / 400.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.08877, allocations: 16.44 kB / 400.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.08881, allocations: 20 kB / 400.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.08921, allocations: 227.2 kB / 401 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.08923, allocations: 4 kB / 401 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.08926, allocations: 8 kB / 401 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.08927, allocations: 7.938 kB / 401 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.08971, allocations: 249.6 kB / 401.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.09123, allocations: 1.321 MB / 402.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.09175, allocations: 194.6 kB / 402.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.09194, allocations: 170.2 kB / 402.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.09197, allocations: 30.56 kB / 403 MB, free: 10.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.09198, allocations: 0 / 403 MB, free: 10.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.02809/0.1201, allocations: 2.856 MB / 405.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1201, allocations: 59.41 kB / 405.9 MB, free: 7.047 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 sine.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.0004552/0.1206, allocations: 357.6 kB / 406.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.219e-05/0.1207, allocations: 29.7 kB / 406.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1208, allocations: 168.8 kB / 406.4 MB, free: 6.484 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1209, allocations: 114.4 kB / 406.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.121, allocations: 8 kB / 406.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1211, allocations: 338.8 kB / 406.9 MB, free: 6.023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008873/0.122, allocations: 299.8 kB / 407.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008911/0.1229, allocations: 342.1 kB / 407.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008909/0.1238, allocations: 307.7 kB / 407.8 MB, free: 5.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1238, allocations: 0 / 407.8 MB, free: 5.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003444/0.1273, allocations: 0.9633 MB / 408.8 MB, free: 4.109 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1273, allocations: 7.953 kB / 408.8 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1273, allocations: 0 / 408.8 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/0.1296, allocations: 1.044 MB / 409.8 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.1299, allocations: 67.83 kB / 409.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003278/0.1332, allocations: 1.753 MB / 411.6 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006813/0.1339, allocations: 44.03 kB / 411.7 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.134, allocations: 19.98 kB / 411.7 MB, free: 1.117 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002327/0.1342, allocations: 158 kB / 411.8 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/0.1343, allocations: 35.53 kB / 411.9 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/0.1375, allocations: 0.9818 MB / 412.9 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/0.1375, allocations: 7.953 kB / 412.9 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1375, allocations: 7.938 kB / 412.9 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1375, allocations: 0 / 412.9 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005158/0.1427, allocations: 1.865 MB / 414.7 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1427, allocations: 4.062 kB / 414.7 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.143, allocations: 63.89 kB / 414.8 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/0.145, allocations: 0.8875 MB / 415.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/0.145, allocations: 15.98 kB / 415.7 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003093/0.1481, allocations: 1.679 MB / 417.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1481, allocations: 0 / 417.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.1507, allocations: 0.9236 MB / 418.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.151, allocations: 180.5 kB / 418.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.835e-05/0.1511, allocations: 8 kB / 418.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005948/0.1517, allocations: 47.95 kB / 418.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.1518, allocations: 19.97 kB / 418.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.1518, allocations: 19.98 kB / 418.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002885/0.1521, allocations: 251.2 kB / 418.8 MB, free: 9.766 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1521, allocations: 0 / 418.8 MB, free: 9.766 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007293/0.1529, allocations: 231.9 kB / 419.1 MB, free: 9.539 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004158/0.157, allocations: 2.03 MB / 421.1 MB, free: 7.574 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.1597, allocations: 0.7067 MB / 421.8 MB, free: 6.867 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1597, allocations: 0 / 421.8 MB, free: 6.867 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.1613, allocations: 391.9 kB / 422.2 MB, free: 6.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005381/0.1619, allocations: 85.22 kB / 422.3 MB, free: 6.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.1643, allocations: 1.532 MB / 423.8 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.1647, allocations: 0.7964 MB / 424.6 MB, free: 3.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.1649, allocations: 50.94 kB / 424.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.1651, allocations: 115.3 kB / 424.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1651, allocations: 0 / 424.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1834/0.3485, allocations: 19.11 MB / 443.9 MB, free: 34.6 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.3487, allocations: 248.4 kB / 444.1 MB, free: 34.27 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.422, allocations: 1.344 kB / 444.1 MB, free: 34.27 MB / 318.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) Environment - environmentSimulation: