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.0008098/0.0008099, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.004808/0.004808, allocations: 172.7 kB / 16.26 MB, free: 6.676 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.156/1.156, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0492/0.0492, allocations: 11.85 MB / 282.6 MB, free: 9.363 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.000497/0.000497, allocations: 22.5 kB / 343.6 MB, free: 22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06538/0.06588, allocations: 50.21 MB / 393.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.002766/0.06868, allocations: 2.841 MB / 396.7 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.07126, allocations: 2.33 MB / 399 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.07138, allocations: 4 kB / 399 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.07165, allocations: 83.62 kB / 399.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.07196, allocations: 163 kB / 399.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006165/0.07258, allocations: 346.9 kB / 399.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.0729, allocations: 366.2 kB / 400 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.07302, allocations: 60.92 kB / 400 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.07317, allocations: 123.4 kB / 400.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.07334, allocations: 147.2 kB / 400.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.07338, allocations: 12 kB / 400.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.07375, allocations: 267.7 kB / 400.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.849e-05/0.07383, allocations: 55.7 kB / 400.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.07396, allocations: 168.8 kB / 400.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.07445, allocations: 490.5 kB / 401.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.07446, allocations: 0 / 401.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.07447, allocations: 0 / 401.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.07448, allocations: 0 / 401.3 MB, free: 12.3 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.0006445/0.07513, allocations: 0.5882 MB / 401.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.07516, allocations: 8.031 kB / 401.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.15e-05/0.07522, allocations: 58.73 kB / 401.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.07528, allocations: 32.56 kB / 401.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.07557, allocations: 299.2 kB / 402.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.07559, allocations: 20.44 kB / 402.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.07563, allocations: 20 kB / 402.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.07599, allocations: 223.2 kB / 402.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.07601, allocations: 0 / 402.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.07603, allocations: 4 kB / 402.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.07605, allocations: 8 kB / 402.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.07644, allocations: 249.5 kB / 402.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.07776, allocations: 1.329 MB / 404.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.07811, allocations: 174.7 kB / 404.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.07827, allocations: 80.83 kB / 404.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.07845, allocations: 170.2 kB / 404.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.07849, allocations: 46.44 kB / 404.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.07849, allocations: 0 / 404.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.02629/0.1048, allocations: 2.86 MB / 407.4 MB, free: 5.766 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.1048, allocations: 55.41 kB / 407.4 MB, free: 5.699 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.0003628/0.1052, allocations: 345.7 kB / 407.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.1053, allocations: 29.7 kB / 407.8 MB, free: 5.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1054, allocations: 180.7 kB / 408 MB, free: 5.137 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.19e-05/0.1055, allocations: 110.4 kB / 408.1 MB, free: 5.027 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/0.1056, allocations: 37.7 kB / 408.1 MB, free: 4.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.1057, allocations: 342.8 kB / 408.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008157/0.1065, allocations: 299.8 kB / 408.8 MB, free: 4.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008112/0.1073, allocations: 334.2 kB / 409.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.1089, allocations: 0.6231 MB / 409.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.109, allocations: 0 / 409.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002569/0.1115, allocations: 0.9203 MB / 410.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1116, allocations: 8 kB / 410.6 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1116, allocations: 0 / 410.6 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/0.1136, allocations: 1.055 MB / 411.7 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.1139, allocations: 59.91 kB / 411.8 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005054/0.1189, allocations: 1.854 MB / 413.6 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/0.1195, allocations: 47.94 kB / 413.7 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/0.1196, allocations: 23.97 kB / 413.7 MB, free: 15.34 MB / 318.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.1197, allocations: 149.8 kB / 413.8 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.1198, allocations: 35.62 kB / 413.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.1227, allocations: 0.9893 MB / 414.9 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1227, allocations: 11.88 kB / 414.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1227, allocations: 0 / 414.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1227, allocations: 3.984 kB / 414.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/0.1274, allocations: 1.861 MB / 416.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1274, allocations: 0 / 416.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.1276, allocations: 67.95 kB / 416.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/0.1294, allocations: 0.8916 MB / 417.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.1294, allocations: 15.97 kB / 417.7 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/0.1322, allocations: 1.679 MB / 419.4 MB, free: 9.488 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1323, allocations: 0 / 419.4 MB, free: 9.488 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.1346, allocations: 0.9005 MB / 420.3 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.1348, allocations: 184.6 kB / 420.5 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.1348, allocations: 7.984 kB / 420.5 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/0.1354, allocations: 43.97 kB / 420.5 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.1355, allocations: 27.98 kB / 420.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.1355, allocations: 23.92 kB / 420.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.1357, allocations: 255.2 kB / 420.8 MB, free: 8.008 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1357, allocations: 0 / 420.8 MB, free: 8.008 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005777/0.1363, allocations: 235.8 kB / 421 MB, free: 7.777 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003685/0.14, allocations: 1.865 MB / 422.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004464/0.1445, allocations: 0.8048 MB / 423.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1445, allocations: 0 / 423.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.146, allocations: 395.9 kB / 424.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.1465, allocations: 81.97 kB / 424.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1254/0.2719, allocations: 5.001 MB / 429.2 MB, free: 40.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2721, allocations: 0.7808 MB / 430 MB, free: 39.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002614/0.2724, allocations: 55.83 kB / 430 MB, free: 39.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.2726, allocations: 109.9 kB / 430.1 MB, free: 39.35 MB / 318.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2726, allocations: 1.531 kB / 430.1 MB, free: 39.35 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.3019, allocations: 18.36 MB / 448.5 MB, free: 32.31 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.3021, allocations: 282.8 kB / 448.8 MB, free: 31.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.188, allocations: 0 / 448.8 MB, free: 31.93 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/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)