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.001181/0.001181, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001112/0.001112, allocations: 186.9 kB / 16.25 MB, free: 6.629 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.167/1.167, allocations: 205.1 MB / 222.1 MB, free: 4.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05008/0.05008, allocations: 11.83 MB / 281.3 MB, free: 9.594 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.00156/0.00156, allocations: 71.83 kB / 341.4 MB, free: 22.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07059/0.07216, allocations: 49.22 MB / 390.6 MB, free: 4.957 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003975/0.07617, allocations: 3.218 MB / 393.9 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.07872, allocations: 2.307 MB / 396.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.07884, allocations: 8 kB / 396.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.07915, allocations: 87.61 kB / 396.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.07949, allocations: 151.1 kB / 396.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007091/0.08021, allocations: 403.2 kB / 396.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.08054, allocations: 374.2 kB / 397.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.08067, allocations: 52.72 kB / 397.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.08083, allocations: 139.4 kB / 397.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.081, allocations: 155.2 kB / 397.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.08104, allocations: 20 kB / 397.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.08143, allocations: 275.7 kB / 397.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.231e-05/0.08151, allocations: 67.75 kB / 397.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.08162, allocations: 155.1 kB / 398 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004896/0.08213, allocations: 0.4947 MB / 398.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.08214, allocations: 0 / 398.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.057e-06/0.08215, allocations: 0 / 398.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.08216, allocations: 0 / 398.5 MB, free: 13.05 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.0007159/0.08288, allocations: 0.6426 MB / 399.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.08292, allocations: 15.89 kB / 399.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.08297, allocations: 50.73 kB / 399.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.08304, allocations: 40.47 kB / 399.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.08333, allocations: 303.2 kB / 399.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.08335, allocations: 12.44 kB / 399.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.08339, allocations: 20 kB / 399.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.08376, allocations: 231.2 kB / 399.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.08377, allocations: 0 / 399.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.0838, allocations: 8 kB / 399.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.08381, allocations: 4 kB / 399.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.0842, allocations: 245.6 kB / 400.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.08552, allocations: 1.329 MB / 401.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.08587, allocations: 162.8 kB / 401.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.08603, allocations: 80.83 kB / 401.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.08621, allocations: 182.2 kB / 401.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.08623, allocations: 38.48 kB / 401.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.08624, allocations: 0 / 401.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.02687/0.1131, allocations: 2.73 MB / 404.6 MB, free: 6.598 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.1132, allocations: 55.41 kB / 404.6 MB, free: 6.531 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.0003962/0.1136, allocations: 357.6 kB / 405 MB, free: 6.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.1136, allocations: 33.7 kB / 405 MB, free: 6.137 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1137, allocations: 172.6 kB / 405.2 MB, free: 5.961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.687e-05/0.1138, allocations: 102.5 kB / 405.3 MB, free: 5.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.114, allocations: 77.58 kB / 405.4 MB, free: 5.777 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1142, allocations: 350.8 kB / 405.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000788/0.1149, allocations: 279.8 kB / 406 MB, free: 5.152 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007996/0.1158, allocations: 326.2 kB / 406.3 MB, free: 4.824 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.1174, allocations: 0.592 MB / 406.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1174, allocations: 0 / 406.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002568/0.1199, allocations: 0.8851 MB / 407.8 MB, free: 3.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.12, allocations: 4 kB / 407.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.12, allocations: 0 / 407.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002083/0.1221, allocations: 1.04 MB / 408.8 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.1223, allocations: 59.89 kB / 408.9 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005241/0.1276, allocations: 1.827 MB / 410.7 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005742/0.1282, allocations: 43.89 kB / 410.7 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.1283, allocations: 24.05 kB / 410.8 MB, free: 276 kB / 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 (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.0001933/0.1285, allocations: 145.9 kB / 410.9 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-05/0.1285, allocations: 35.61 kB / 410.9 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.1314, allocations: 0.9503 MB / 411.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1314, allocations: 7.875 kB / 411.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1314, allocations: 7.938 kB / 411.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1314, allocations: 7.969 kB / 411.9 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/0.1361, allocations: 1.807 MB / 413.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1361, allocations: 4 kB / 413.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.1364, allocations: 55.89 kB / 413.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/0.1382, allocations: 0.8759 MB / 414.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.1382, allocations: 19.97 kB / 414.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.141, allocations: 1.639 MB / 416.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.141, allocations: 0 / 416.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.1433, allocations: 0.8811 MB / 417.2 MB, free: 9.656 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.1435, allocations: 172.6 kB / 417.4 MB, free: 9.469 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.932e-05/0.1436, allocations: 4 kB / 417.4 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/0.1442, allocations: 43.95 kB / 417.4 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.1442, allocations: 19.98 kB / 417.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.1443, allocations: 19.97 kB / 417.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002479/0.1445, allocations: 255.2 kB / 417.7 MB, free: 9.133 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1446, allocations: 0 / 417.7 MB, free: 9.133 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006852/0.1452, allocations: 227.9 kB / 417.9 MB, free: 8.91 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.003773/0.149, allocations: 1.848 MB / 419.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004657/0.1537, allocations: 0.7727 MB / 420.5 MB, free: 6.363 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1537, allocations: 8.062 kB / 420.5 MB, free: 6.355 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.1551, allocations: 359.8 kB / 420.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.1557, allocations: 93.97 kB / 421 MB, free: 5.914 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009023/0.1647, allocations: 4.887 MB / 425.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.1651, allocations: 0.784 MB / 426.7 MB, free: 108 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.1653, allocations: 54.94 kB / 426.7 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1118/0.277, allocations: 106.9 kB / 426.8 MB, free: 41.66 MB / 318.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2771, allocations: 0 / 426.8 MB, free: 41.66 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.925/7.202, allocations: 19.17 MB / 446 MB, free: 33.9 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/7.202, allocations: 283.7 kB / 446.3 MB, free: 33.52 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/9.778, allocations: 0 / 446.3 MB, free: 33.52 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)