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: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",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.001136/0.001136, 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.001165/0.001165, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.158/1.158, allocations: 205.1 MB / 222.1 MB, free: 4.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05019/0.05019, allocations: 11.83 MB / 281.3 MB, free: 9.598 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.001327/0.001327, allocations: 75.12 kB / 341.4 MB, free: 22.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06395/0.06529, allocations: 49.23 MB / 390.7 MB, free: 4.941 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003514/0.06883, allocations: 3.032 MB / 393.7 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009591/0.06981, allocations: 0.7408 MB / 394.4 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.08e-05/0.06991, allocations: 4 kB / 394.4 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.07003, allocations: 15.84 kB / 394.4 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.07032, allocations: 107.3 kB / 394.5 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.07045, allocations: 39.95 kB / 394.6 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.07069, allocations: 250.7 kB / 394.8 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.07082, allocations: 53.66 kB / 394.9 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.07094, allocations: 95.64 kB / 395 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.07108, allocations: 107.5 kB / 395.1 MB, free: 488 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.07111, allocations: 12 kB / 395.1 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.432e-05/0.07121, allocations: 36 kB / 395.1 MB, free: 440 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.07125, allocations: 31.91 kB / 395.2 MB, free: 408 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.057e-05/0.07134, allocations: 107.4 kB / 395.3 MB, free: 300 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.07155, allocations: 207.5 kB / 395.5 MB, free: 92 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.07156, allocations: 0 / 395.5 MB, free: 92 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.07156, allocations: 0 / 395.5 MB, free: 92 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.07157, allocations: 0 / 395.5 MB, free: 92 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.0005677/0.07214, allocations: 0.5042 MB / 396 MB, free: 15.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.07218, allocations: 15.89 kB / 396 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.07224, allocations: 50.73 kB / 396 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.101e-05/0.07232, allocations: 20.75 kB / 396.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.07253, allocations: 228 kB / 396.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.07255, allocations: 12.38 kB / 396.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.07258, allocations: 19.94 kB / 396.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.07288, allocations: 183.7 kB / 396.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.0729, allocations: 0 / 396.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.07292, allocations: 8 kB / 396.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.07293, allocations: 8 kB / 396.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.07317, allocations: 124.9 kB / 396.6 MB, free: 14.82 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.00096/0.07414, allocations: 0.9373 MB / 397.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.07439, allocations: 150.7 kB / 397.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.07451, allocations: 60.83 kB / 397.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.07454, allocations: 4 kB / 397.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.07456, allocations: 34.56 kB / 397.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.07457, allocations: 4 kB / 397.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001575/0.07615, allocations: 0.7507 MB / 398.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.0762, allocations: 77.11 kB / 398.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.07634, allocations: 178.6 kB / 398.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.07636, allocations: 29.7 kB / 398.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.07644, allocations: 128.3 kB / 399 MB, free: 12.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.07649, allocations: 67 kB / 399 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.07655, allocations: 45.7 kB / 399.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.07665, allocations: 334.8 kB / 399.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.07679, allocations: 56.83 kB / 399.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.07693, allocations: 96.19 kB / 399.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.07722, allocations: 214.2 kB / 399.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.07723, allocations: 4 kB / 399.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003519/0.07759, allocations: 223 kB / 400 MB, free: 11.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.07763, allocations: 45.62 kB / 400 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.07764, allocations: 4.094 kB / 400 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.07767, allocations: 7.938 kB / 400 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.07792, allocations: 51.97 kB / 400.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.07794, allocations: 3.984 kB / 400.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.07806, allocations: 8 kB / 400.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.07808, allocations: 8 kB / 400.1 MB, free: 11.01 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.07825, allocations: 168.3 kB / 400.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.0783, allocations: 23.75 kB / 400.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/0.07873, allocations: 261.1 kB / 400.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.07874, allocations: 4 kB / 400.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.07875, allocations: 0 / 400.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.07876, allocations: 0 / 400.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.07942, allocations: 0.578 MB / 401.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.07944, allocations: 0 / 401.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.07968, allocations: 55.84 kB / 401.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.07969, allocations: 8.031 kB / 401.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.07972, allocations: 7.984 kB / 401.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.07972, allocations: 0 / 401.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.07973, allocations: 4 kB / 401.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.08025, allocations: 404.8 kB / 401.6 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/0.08034, allocations: 104.8 kB / 401.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.08038, allocations: 4 kB / 401.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.08052, allocations: 11.98 kB / 401.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.08057, allocations: 15.92 kB / 401.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.08059, allocations: 8 kB / 401.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.689e-05/0.08069, allocations: 135.3 kB / 401.9 MB, free: 9.109 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.0807, allocations: 4 kB / 401.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000263/0.08096, allocations: 48 kB / 401.9 MB, free: 9.059 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007564/0.08173, allocations: 0.9561 MB / 402.9 MB, free: 8.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.08211, allocations: 219.3 kB / 403.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.08212, allocations: 0 / 403.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.08229, allocations: 139.3 kB / 403.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.08261, allocations: 56.03 kB / 403.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.08503, allocations: 2.368 MB / 405.7 MB, free: 5.168 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.08528, allocations: 0.7363 MB / 406.4 MB, free: 4.406 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.08541, allocations: 21.94 kB / 406.4 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.461e-05/0.08551, allocations: 67.41 kB / 406.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.08551, allocations: 0 / 406.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.1009, allocations: 4.63 MB / 411.1 MB, free: 15.76 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.1012, allocations: 226.2 kB / 411.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/1.81, allocations: 3.938 kB / 411.3 MB, free: 15.49 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)