Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 99.62 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.001127/0.001127, 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.402/1.402, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05064/0.05064, allocations: 11.85 MB / 282.2 MB, free: 9.477 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.0006194/0.0006195, allocations: 20 kB / 342.9 MB, free: 22.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08315/0.08378, allocations: 50.21 MB / 393.1 MB, free: 4.23 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003055/0.08688, allocations: 2.398 MB / 395.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.08816, allocations: 0.718 MB / 396.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.08832, allocations: 4 kB / 396.2 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.309e-05/0.08839, allocations: 19.83 kB / 396.2 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003957/0.0888, allocations: 163.5 kB / 396.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.08895, allocations: 39.89 kB / 396.4 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.08917, allocations: 179.6 kB / 396.6 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.08929, allocations: 41.64 kB / 396.7 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.08942, allocations: 79.7 kB / 396.7 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.08957, allocations: 87.67 kB / 396.8 MB, free: 500 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.08959, allocations: 12 kB / 396.8 MB, free: 488 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.08968, allocations: 20 kB / 396.9 MB, free: 468 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.08972, allocations: 31.83 kB / 396.9 MB, free: 436 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.08978, allocations: 73.52 kB / 397 MB, free: 356 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.08995, allocations: 135.9 kB / 397.1 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.08996, allocations: 0 / 397.1 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.08997, allocations: 0 / 397.1 MB, free: 220 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.08997, allocations: 0 / 397.1 MB, free: 220 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005675/0.09055, allocations: 496.2 kB / 397.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.09058, allocations: 8.031 kB / 397.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.777e-05/0.09068, allocations: 27.77 kB / 397.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.0909, allocations: 214.8 kB / 397.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.09092, allocations: 12 kB / 397.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.09096, allocations: 16 kB / 397.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.09126, allocations: 183.7 kB / 398 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.09129, allocations: 4 kB / 398 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.09131, allocations: 12 kB / 398 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.09132, allocations: 4 kB / 398 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.09157, allocations: 124.9 kB / 398.2 MB, free: 15.03 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.0926, allocations: 0.9374 MB / 399.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.09295, allocations: 154.8 kB / 399.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.09299, allocations: 15.98 kB / 399.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.09301, allocations: 30.56 kB / 399.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.09302, allocations: 0 / 399.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.00165/0.09467, allocations: 0.788 MB / 400.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.09473, allocations: 81.11 kB / 400.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.09488, allocations: 182.6 kB / 400.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.09491, allocations: 33.7 kB / 400.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.09499, allocations: 124.3 kB / 400.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.09504, allocations: 71 kB / 400.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.09506, allocations: 0 / 400.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.09516, allocations: 330.8 kB / 400.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.09531, allocations: 65.02 kB / 401 MB, free: 11.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.09546, allocations: 92.25 kB / 401 MB, free: 11.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.09562, allocations: 95.88 kB / 401.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.09563, allocations: 4 kB / 401.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003747/0.09601, allocations: 238.9 kB / 401.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.09606, allocations: 37.7 kB / 401.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.09607, allocations: 0 / 401.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.09609, allocations: 4 kB / 401.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.09634, allocations: 67.92 kB / 401.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.09635, allocations: 0 / 401.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.09648, allocations: 15.94 kB / 401.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.09651, allocations: 15.94 kB / 401.5 MB, free: 11.39 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (23): * Single equations (assignments): 22 * 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 0.0001782/0.0967, allocations: 155.5 kB / 401.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.09675, allocations: 19.81 kB / 401.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004503/0.09721, allocations: 261.2 kB / 401.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.09722, allocations: 0 / 401.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.09723, allocations: 0 / 401.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.09724, allocations: 4 kB / 401.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007055/0.09795, allocations: 0.5937 MB / 402.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.09797, allocations: 0 / 402.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.09822, allocations: 59.89 kB / 402.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.09823, allocations: 0 / 402.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.09825, allocations: 8 kB / 402.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.09826, allocations: 4 kB / 402.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.09827, allocations: 0 / 402.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.09886, allocations: 417.4 kB / 403 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.014e-05/0.09897, allocations: 112.8 kB / 403.1 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.099, allocations: 0 / 403.1 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.09915, allocations: 12 kB / 403.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.0992, allocations: 15.97 kB / 403.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.09922, allocations: 7.938 kB / 403.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.635e-05/0.09932, allocations: 139.2 kB / 403.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.09933, allocations: 64 / 403.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.09962, allocations: 56 kB / 403.4 MB, free: 9.414 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * 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 (23): * Single equations (assignments): 22 * 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.0001267/0.09976, allocations: 115.1 kB / 403.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003639/0.1001, allocations: 220.3 kB / 403.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1001, allocations: 192 / 403.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1003, allocations: 151.2 kB / 403.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.1006, allocations: 36.25 kB / 403.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008465/0.1014, allocations: 0.5991 MB / 404.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1018, allocations: 0.7368 MB / 405.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.1019, allocations: 33.86 kB / 405.2 MB, free: 7.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.102, allocations: 19.44 kB / 405.3 MB, free: 7.434 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.102, allocations: 0 / 405.3 MB, free: 7.434 MB / 302.1 MB Notification: Performance of Templates: time 0.005255/0.1072, allocations: 2.441 MB / 407.7 MB, free: 5.031 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile Environment - environmentSimulation: (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) Environment - environmentSimulation: