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.0008599/0.00086, allocations: 92 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.0008815/0.0008815, 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.414/1.414, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05024/0.05024, allocations: 11.84 MB / 282.2 MB, free: 9.484 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.0006065/0.0006067, allocations: 20 kB / 343 MB, free: 22.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09146/0.09207, allocations: 50.21 MB / 393.2 MB, free: 4.125 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002307/0.09444, allocations: 1.842 MB / 395.1 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.09696, allocations: 1.746 MB / 396.8 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.09717, allocations: 4 kB / 396.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.09741, allocations: 31.81 kB / 396.9 MB, free: 492 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.0978, allocations: 99.23 kB / 397 MB, free: 392 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000934/0.09874, allocations: 255.2 kB / 397.2 MB, free: 136 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.09903, allocations: 163.1 kB / 397.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.09919, allocations: 25.55 kB / 397.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.09932, allocations: 55.8 kB / 397.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.09945, allocations: 59.7 kB / 397.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.09948, allocations: 4 kB / 397.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005163/0.1, allocations: 223.7 kB / 397.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.1001, allocations: 15.94 kB / 397.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.1001, allocations: 57.62 kB / 397.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.1005, allocations: 195.9 kB / 398 MB, free: 15.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1005, allocations: 0 / 398 MB, free: 15.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1005, allocations: 0 / 398 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.1005, allocations: 0 / 398 MB, free: 15.34 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005809/0.1011, allocations: 446.6 kB / 398.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.1012, allocations: 12.03 kB / 398.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.1012, allocations: 46.55 kB / 398.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.1013, allocations: 15.81 kB / 398.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.1016, allocations: 214.8 kB / 398.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1016, allocations: 4 kB / 398.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1016, allocations: 19.94 kB / 398.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.1019, allocations: 117.6 kB / 398.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1019, allocations: 0 / 398.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1019, allocations: 0 / 398.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1019, allocations: 8 kB / 398.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.1021, allocations: 127.7 kB / 399 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.1033, allocations: 0.9227 MB / 399.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1035, allocations: 62.55 kB / 400 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.1036, allocations: 24.97 kB / 400 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.1037, allocations: 89.09 kB / 400.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1037, allocations: 34.5 kB / 400.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.1037, allocations: 0 / 400.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002802/0.104, allocations: 93.59 kB / 400.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.1041, allocations: 59.39 kB / 400.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1043, allocations: 207.7 kB / 400.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1043, allocations: 25.7 kB / 400.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.1044, allocations: 120.1 kB / 400.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.1044, allocations: 15.75 kB / 400.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.1044, allocations: 4 kB / 400.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1045, allocations: 326.7 kB / 400.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.354e-05/0.1046, allocations: 31.98 kB / 401 MB, free: 12.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.637e-05/0.1047, allocations: 31.92 kB / 401 MB, free: 11.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.509e-05/0.1047, allocations: 32.03 kB / 401 MB, free: 11.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1047, allocations: 0 / 401 MB, free: 11.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000228/0.105, allocations: 113.4 kB / 401.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.105, allocations: 8.281 kB / 401.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.105, allocations: 0 / 401.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.105, allocations: 0 / 401.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1051, allocations: 19.92 kB / 401.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1052, allocations: 4 kB / 401.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.237e-05/0.1052, allocations: 7.844 kB / 401.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1052, allocations: 8 kB / 401.2 MB, free: 11.79 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.1054, allocations: 129.8 kB / 401.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.1054, allocations: 11.81 kB / 401.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.1057, allocations: 98.59 kB / 401.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1057, allocations: 0 / 401.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1057, allocations: 4 kB / 401.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1057, allocations: 0 / 401.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.1062, allocations: 395.2 kB / 401.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1062, allocations: 0 / 401.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.1063, allocations: 11.98 kB / 401.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1063, allocations: 4 kB / 401.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1063, allocations: 320 / 401.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1063, allocations: 0 / 401.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1063, allocations: 7.938 kB / 401.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.1065, allocations: 192.2 kB / 402 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/0.1066, allocations: 108.8 kB / 402.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.1067, allocations: 4 kB / 402.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.1068, allocations: 0 / 402.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.1068, allocations: 0 / 402.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1068, allocations: 8 kB / 402.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.107, allocations: 155 kB / 402.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.107, allocations: 0 / 402.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003735/0.1073, allocations: 83.92 kB / 402.4 MB, free: 10.48 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007063/0.1081, allocations: 0.7911 MB / 403.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.1083, allocations: 59.97 kB / 403.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1083, allocations: 4 kB / 403.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1084, allocations: 19.94 kB / 403.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.1088, allocations: 43.91 kB / 403.3 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.1102, allocations: 0.8584 MB / 404.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.1105, allocations: 0.7126 MB / 404.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.1107, allocations: 29.66 kB / 404.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.1107, allocations: 47.36 kB / 404.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1107, allocations: 0 / 404.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.1287, allocations: 4.707 MB / 409.6 MB, free: 3.172 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.1289, allocations: 187 kB / 409.8 MB, free: 2.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/1.961, allocations: 0 / 409.8 MB, free: 2.93 MB / 302.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/linux/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) Environment - environmentSimulation: