Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.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: translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009739/0.000974, allocations: 177.3 kB / 15.95 MB, free: 216 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.477/1.477, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05227/0.05227, 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.0006157/0.000616, allocations: 18.34 kB / 342.9 MB, free: 22.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09274/0.09336, allocations: 50.21 MB / 393.1 MB, free: 4.234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002056/0.09546, allocations: 1.722 MB / 394.8 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.09654, allocations: 0.6051 MB / 395.4 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.0967, allocations: 7.938 kB / 395.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.101e-05/0.09676, allocations: 11.91 kB / 395.5 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.09717, allocations: 111.6 kB / 395.6 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.0973, allocations: 19.97 kB / 395.6 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.09749, allocations: 99.78 kB / 395.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.09761, allocations: 19.97 kB / 395.7 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.09773, allocations: 43.84 kB / 395.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.09786, allocations: 47.83 kB / 395.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.09788, allocations: 4 kB / 395.8 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.09796, allocations: 12 kB / 395.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.09799, allocations: 15.92 kB / 395.8 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.09804, allocations: 41.7 kB / 395.9 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.09817, allocations: 72.05 kB / 395.9 MB, free: 1.387 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.09818, allocations: 4 kB / 395.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09819, allocations: 0 / 395.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.0982, allocations: 0 / 395.9 MB, free: 1.383 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004628/0.09867, allocations: 408.6 kB / 396.3 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.09871, allocations: 8.031 kB / 396.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.09877, allocations: 11.91 kB / 396.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.09901, allocations: 202.8 kB / 396.5 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.09903, allocations: 8 kB / 396.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.09906, allocations: 8 kB / 396.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.09923, allocations: 88.09 kB / 396.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.09925, allocations: 0 / 396.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.09927, allocations: 0 / 396.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.09928, allocations: 4 kB / 396.7 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.09939, allocations: 51.97 kB / 396.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006601/0.1001, allocations: 0.5049 MB / 397.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.636e-05/0.1002, allocations: 38.58 kB / 397.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1002, allocations: 0 / 397.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1002, allocations: 38.5 kB / 397.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1002, allocations: 0 / 397.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002265/0.1005, allocations: 103.4 kB / 397.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.1005, allocations: 81.11 kB / 397.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.1007, allocations: 158.2 kB / 397.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1007, allocations: 29.7 kB / 397.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.1008, allocations: 107.9 kB / 397.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.1008, allocations: 15.8 kB / 397.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.1008, allocations: 4 kB / 397.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1009, allocations: 322.8 kB / 398.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.101, allocations: 15.98 kB / 398.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.101, allocations: 12 kB / 398.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.812e-05/0.1011, allocations: 49.64 kB / 398.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1011, allocations: 0 / 398.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000146/0.1012, allocations: 111.3 kB / 398.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.1013, allocations: 37.66 kB / 398.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1013, allocations: 0 / 398.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1013, allocations: 3.938 kB / 398.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1014, allocations: 15.98 kB / 398.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1015, allocations: 4 kB / 398.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.1015, allocations: 7.844 kB / 398.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1015, allocations: 4 kB / 398.3 MB, free: 14.69 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 9.289e-05/0.1016, allocations: 143.5 kB / 398.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.1017, allocations: 11.91 kB / 398.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.1019, allocations: 120.1 kB / 398.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1019, allocations: 7.938 kB / 398.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1019, allocations: 0 / 398.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1019, allocations: 0 / 398.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.1023, allocations: 381 kB / 399 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1023, allocations: 0 / 399 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.1024, allocations: 15.89 kB / 399 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.1024, allocations: 4.031 kB / 399 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1024, allocations: 8 kB / 399 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1024, allocations: 0 / 399 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1024, allocations: 3.984 kB / 399 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.1026, allocations: 215.7 kB / 399.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.1027, allocations: 100.9 kB / 399.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.1027, allocations: 8 kB / 399.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.897e-05/0.1028, allocations: 0 / 399.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.1028, allocations: 11.94 kB / 399.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.1028, allocations: 0 / 399.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.339e-05/0.1029, allocations: 127.8 kB / 399.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1029, allocations: 0 / 399.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1032, allocations: 24 kB / 399.5 MB, free: 13.38 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001364/0.1033, allocations: 106.7 kB / 399.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.1035, allocations: 107.4 kB / 399.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1035, allocations: 0 / 399.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.445e-05/0.1036, allocations: 75.33 kB / 399.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.1039, allocations: 39.81 kB / 399.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.1043, allocations: 289.6 kB / 400.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.1046, allocations: 0.7087 MB / 400.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.436e-05/0.1047, allocations: 9.094 kB / 400.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.1047, allocations: 15.42 kB / 400.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.1047, allocations: 0 / 400.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Templates: time 0.00402/0.1088, allocations: 1.534 MB / 402.4 MB, free: 10.45 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile Environment - environmentSimulation: (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1) Environment - environmentSimulation: