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.005976/0.005976, allocations: 104.8 kB / 15.74 MB, free: 6.039 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.001371/0.001371, allocations: 196.3 kB / 16.68 MB, free: 5.957 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.231/1.231, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05181/0.05181, allocations: 11.86 MB / 281.8 MB, free: 200 kB / 222.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.001442/0.001442, allocations: 72.48 kB / 391.8 MB, free: 45.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07576/0.07721, allocations: 49.23 MB / 441.1 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003078/0.08032, allocations: 2.801 MB / 443.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002826/0.08316, allocations: 2.286 MB / 446.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.08334, allocations: 4 kB / 446.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.08373, allocations: 91.38 kB / 446.2 MB, free: 13.35 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004489/0.08419, allocations: 186.5 kB / 446.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008701/0.08507, allocations: 442.5 kB / 446.9 MB, free: 12.73 MB / 334.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 NFFlatten.flatten: time 0.0003899/0.08547, allocations: 378.2 kB / 447.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.08563, allocations: 64.69 kB / 447.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.08583, allocations: 139.4 kB / 447.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.08604, allocations: 151.3 kB / 447.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.08609, allocations: 20 kB / 447.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004781/0.08657, allocations: 287.7 kB / 447.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.08667, allocations: 59.77 kB / 447.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.08682, allocations: 159.1 kB / 448.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006186/0.08745, allocations: 499.4 kB / 448.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.08746, allocations: 0 / 448.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.08747, allocations: 0 / 448.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.08748, allocations: 0 / 448.6 MB, free: 11.01 MB / 334.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.0008797/0.08837, allocations: 0.6466 MB / 449.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.08841, allocations: 11.89 kB / 449.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.289e-05/0.08848, allocations: 58.67 kB / 449.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.08856, allocations: 36.55 kB / 449.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.08899, allocations: 303.2 kB / 449.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.08901, allocations: 12.44 kB / 449.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.08905, allocations: 20 kB / 449.7 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.08945, allocations: 227.2 kB / 449.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.08947, allocations: 0 / 449.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.08949, allocations: 4 kB / 449.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.08951, allocations: 8 kB / 449.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004045/0.08992, allocations: 249.5 kB / 450.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.09144, allocations: 1.333 MB / 451.5 MB, free: 7.828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.09182, allocations: 170.7 kB / 451.6 MB, free: 7.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.092, allocations: 83.64 kB / 451.7 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.09219, allocations: 170.2 kB / 451.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.09222, allocations: 38.5 kB / 451.9 MB, free: 7.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.09223, allocations: 0 / 451.9 MB, free: 7.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.02821/0.1204, allocations: 2.731 MB / 454.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1205, allocations: 55.41 kB / 454.7 MB, free: 4.484 MB / 334.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.0004558/0.121, allocations: 349.7 kB / 455 MB, free: 4.129 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/0.1211, allocations: 29.7 kB / 455.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1212, allocations: 184.6 kB / 455.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.1213, allocations: 102.4 kB / 455.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.1215, allocations: 81.66 kB / 455.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1216, allocations: 342.8 kB / 455.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008251/0.1225, allocations: 287.8 kB / 456 MB, free: 3.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008645/0.1233, allocations: 322.8 kB / 456.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.125, allocations: 0.5765 MB / 456.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.125, allocations: 0 / 456.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002705/0.1278, allocations: 0.8966 MB / 457.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1278, allocations: 4 kB / 457.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1278, allocations: 0 / 457.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/0.1299, allocations: 1.036 MB / 458.9 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.1302, allocations: 63.88 kB / 458.9 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005436/0.1357, allocations: 1.815 MB / 460.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006281/0.1363, allocations: 47.98 kB / 460.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.1364, allocations: 19.98 kB / 460.8 MB, free: 14.23 MB / 350.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.0002168/0.1366, allocations: 157.7 kB / 461 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.1367, allocations: 35.53 kB / 461 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.1401, allocations: 0.9819 MB / 462 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1401, allocations: 4 kB / 462 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.1401, allocations: 4 kB / 462 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1401, allocations: 3.938 kB / 462 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00549/0.1456, allocations: 1.858 MB / 463.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1456, allocations: 0 / 463.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.1459, allocations: 55.91 kB / 463.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/0.1477, allocations: 0.8643 MB / 464.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.1477, allocations: 19.98 kB / 464.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004979/0.1527, allocations: 1.749 MB / 466.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1527, allocations: 3.984 kB / 466.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.1551, allocations: 0.8705 MB / 467.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.1554, allocations: 172.6 kB / 467.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.784e-05/0.1555, allocations: 8 kB / 467.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005653/0.1561, allocations: 43.89 kB / 467.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.1561, allocations: 23.97 kB / 467.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/0.1562, allocations: 15.98 kB / 467.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002585/0.1564, allocations: 255.2 kB / 467.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1564, allocations: 0 / 467.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007142/0.1572, allocations: 235.9 kB / 468.2 MB, free: 6.695 MB / 350.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.003977/0.1612, allocations: 1.838 MB / 470 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004759/0.1659, allocations: 0.7578 MB / 470.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1659, allocations: 128 / 470.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003488/0.1694, allocations: 475.6 kB / 471.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000587/0.17, allocations: 92.56 kB / 471.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009336/0.1794, allocations: 4.763 MB / 476.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1797, allocations: 0.7879 MB / 476.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.18, allocations: 50.88 kB / 476.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.1801, allocations: 107.4 kB / 477 MB, free: 13.8 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1801, allocations: 0 / 477 MB, free: 13.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03989/0.22, allocations: 18.96 MB / 496 MB, free: 10.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.53, allocations: 12.89 kB / 496 MB, free: 10.75 MB / 382.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)