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.001174/0.001173, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.001461/0.001461, allocations: 172.7 kB / 15.95 MB, free: 208 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.371/1.371, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05021/0.05021, allocations: 11.85 MB / 282.2 MB, free: 9.348 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.000568/0.000568, allocations: 22.34 kB / 343 MB, free: 22.36 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07629/0.07687, allocations: 50.22 MB / 393.2 MB, free: 4.086 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.002892/0.0798, allocations: 2.718 MB / 396 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.08243, allocations: 2.141 MB / 398.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.08257, allocations: 7.938 kB / 398.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.08285, allocations: 83.56 kB / 398.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.08328, allocations: 190.7 kB / 398.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.08391, allocations: 338.5 kB / 398.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.08424, allocations: 350.2 kB / 399 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.08437, allocations: 52.94 kB / 399.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.08453, allocations: 115.5 kB / 399.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.08471, allocations: 143.3 kB / 399.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.08474, allocations: 8 kB / 399.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003983/0.08515, allocations: 255.8 kB / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.08523, allocations: 55.7 kB / 399.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.774e-05/0.08529, allocations: 77.52 kB / 399.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.08569, allocations: 371.2 kB / 400.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.08571, allocations: 0 / 400.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.08571, allocations: 0 / 400.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.08572, allocations: 0 / 400.1 MB, free: 13.19 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.0007153/0.08644, allocations: 0.592 MB / 400.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.08648, allocations: 8.031 kB / 400.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.351e-05/0.08654, allocations: 54.55 kB / 400.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.0866, allocations: 35.58 kB / 400.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.08692, allocations: 290.3 kB / 401.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.08694, allocations: 16.44 kB / 401.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.08698, allocations: 24 kB / 401.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.08737, allocations: 223.2 kB / 401.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.08738, allocations: 0 / 401.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.08741, allocations: 8 kB / 401.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.08743, allocations: 7.984 kB / 401.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.08783, allocations: 253.6 kB / 401.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.08919, allocations: 1.317 MB / 402.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.08955, allocations: 182.7 kB / 403.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.08971, allocations: 80.83 kB / 403.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.08988, allocations: 166.2 kB / 403.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.08991, allocations: 42.5 kB / 403.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.08992, allocations: 0 / 403.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.02212/0.112, allocations: 2.856 MB / 406.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.1121, allocations: 55.41 kB / 406.3 MB, free: 6.605 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.0003629/0.1125, allocations: 357.6 kB / 406.6 MB, free: 6.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.1125, allocations: 29.7 kB / 406.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1126, allocations: 176.7 kB / 406.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.064e-05/0.1127, allocations: 110.5 kB / 406.9 MB, free: 5.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.1128, allocations: 4 kB / 406.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1129, allocations: 342.8 kB / 407.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007393/0.1136, allocations: 299.8 kB / 407.6 MB, free: 5.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007415/0.1144, allocations: 342.2 kB / 407.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.1151, allocations: 303.7 kB / 408.2 MB, free: 4.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1151, allocations: 0 / 408.2 MB, free: 4.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002832/0.118, allocations: 0.9748 MB / 409.2 MB, free: 3.656 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.118, allocations: 7.984 kB / 409.2 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.118, allocations: 0 / 409.2 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/0.12, allocations: 1.04 MB / 410.2 MB, free: 2.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.1202, allocations: 63.89 kB / 410.3 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.123, allocations: 1.749 MB / 412 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.1235, allocations: 47.98 kB / 412.1 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/0.1236, allocations: 19.98 kB / 412.1 MB, free: 0.6719 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.0001906/0.1238, allocations: 154.2 kB / 412.3 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.1239, allocations: 35.53 kB / 412.3 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002656/0.1265, allocations: 0.9737 MB / 413.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1265, allocations: 11.94 kB / 413.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1265, allocations: 0 / 413.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1266, allocations: 4 kB / 413.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/0.1307, allocations: 1.869 MB / 415.1 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1307, allocations: 0 / 415.1 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.131, allocations: 59.89 kB / 415.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.1327, allocations: 0.8954 MB / 416.1 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.1327, allocations: 15.98 kB / 416.1 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/0.1354, allocations: 1.683 MB / 417.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1354, allocations: 3.984 kB / 417.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.1376, allocations: 0.9046 MB / 418.7 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.1378, allocations: 180.6 kB / 418.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-05/0.1379, allocations: 11.95 kB / 418.9 MB, free: 9.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.1384, allocations: 39.97 kB / 418.9 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.1384, allocations: 19.97 kB / 419 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.1385, allocations: 23.97 kB / 419 MB, free: 9.598 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000247/0.1387, allocations: 255.2 kB / 419.2 MB, free: 9.348 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1387, allocations: 0 / 419.2 MB, free: 9.348 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006468/0.1394, allocations: 227.9 kB / 419.5 MB, free: 9.125 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.00397/0.1434, allocations: 1.861 MB / 421.3 MB, free: 7.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002275/0.1457, allocations: 0.7106 MB / 422 MB, free: 6.629 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1457, allocations: 0 / 422 MB, free: 6.629 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.1471, allocations: 387.9 kB / 422.4 MB, free: 6.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007043/0.1478, allocations: 93.95 kB / 422.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006367/0.1541, allocations: 3.008 MB / 425.5 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.1545, allocations: 0.784 MB / 426.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.1547, allocations: 50.94 kB / 426.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.1549, allocations: 111.4 kB / 426.4 MB, free: 2.113 MB / 318.1 MB Notification: Performance of SimCode: time 2.054e-06/0.1549, allocations: 4 kB / 426.4 MB, free: 2.109 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1693/0.3242, allocations: 19.3 MB / 445.7 MB, free: 34.16 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/0.3244, allocations: 257.5 kB / 446 MB, free: 33.82 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/2.774, allocations: 3.938 kB / 446 MB, free: 33.82 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: