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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009/0.0009, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000854/0.000854, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9682/0.9682, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.0343/0.0343, allocations: 8.711 MB / 267.9 MB, free: 4.734 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 394.9 MB, free: 1.242 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.15e-05/4.415e-05, allocations: 6.219 kB / 394.9 MB, free: 1.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003645/0.00369, allocations: 2.495 MB / 397.4 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.005025, allocations: 0.7672 MB / 398.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.005169, allocations: 4 kB / 398.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.005317, allocations: 27.72 kB / 398.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.0057, allocations: 127 kB / 398.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.005873, allocations: 55.86 kB / 398.4 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.006153, allocations: 270.4 kB / 398.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.006303, allocations: 47 kB / 398.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.006561, allocations: 139.7 kB / 398.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.006708, allocations: 75.8 kB / 398.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.006737, allocations: 16 kB / 399 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.086e-05/0.006827, allocations: 35.92 kB / 399 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.006865, allocations: 43.77 kB / 399 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.557e-05/0.00696, allocations: 71.84 kB / 399.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.007258, allocations: 211.3 kB / 399.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.007263, allocations: 0 / 399.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.007266, allocations: 0 / 399.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.007273, allocations: 0 / 399.3 MB, free: 12.84 MB / 330.7 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.001007/0.00828, allocations: 443 kB / 399.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/0.008347, allocations: 8.031 kB / 399.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.537e-05/0.008403, allocations: 54.73 kB / 399.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.008561, allocations: 36.72 kB / 399.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.008911, allocations: 177.3 kB / 400 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.008933, allocations: 20.31 kB / 400 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.008968, allocations: 16.38 kB / 400.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.009265, allocations: 214 kB / 400.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.009287, allocations: 0 / 400.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.009304, allocations: 8 kB / 400.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.009311, allocations: 4 kB / 400.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.009499, allocations: 150.6 kB / 400.4 MB, free: 11.64 MB / 330.7 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.0008244/0.01032, allocations: 0.6252 MB / 401 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.01058, allocations: 172.4 kB / 401.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.01068, allocations: 86.53 kB / 401.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.0107, allocations: 7.938 kB / 401.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.01073, allocations: 30.56 kB / 401.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.715e-06/0.01073, allocations: 0 / 401.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001322/0.01205, allocations: 0.7288 MB / 402.1 MB, free: 9.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.0121, allocations: 85.11 kB / 402.1 MB, free: 9.742 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.01225, allocations: 184.3 kB / 402.3 MB, free: 9.551 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.01227, allocations: 29.7 kB / 402.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.01235, allocations: 128.4 kB / 402.5 MB, free: 9.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.01239, allocations: 71.33 kB / 402.5 MB, free: 9.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.01245, allocations: 41.7 kB / 402.6 MB, free: 9.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.01255, allocations: 330.8 kB / 402.9 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.01266, allocations: 86.53 kB / 403 MB, free: 8.844 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.0128, allocations: 122 kB / 403.1 MB, free: 8.703 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.01301, allocations: 214.6 kB / 403.3 MB, free: 8.469 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01301, allocations: 4 kB / 403.3 MB, free: 8.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002825/0.01329, allocations: 264.7 kB / 403.6 MB, free: 8.188 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.01333, allocations: 33.7 kB / 403.6 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01333, allocations: 0 / 403.6 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.01335, allocations: 8.094 kB / 403.6 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.01352, allocations: 59.89 kB / 403.7 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.01353, allocations: 3.938 kB / 403.7 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/0.01359, allocations: 8 kB / 403.7 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.0136, allocations: 11.98 kB / 403.7 MB, free: 8.059 MB / 330.7 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.0001815/0.01378, allocations: 155.5 kB / 403.9 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.01381, allocations: 23.84 kB / 403.9 MB, free: 7.867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.01416, allocations: 291.5 kB / 404.2 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01417, allocations: 0 / 404.2 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.01418, allocations: 7.938 kB / 404.2 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.01418, allocations: 0 / 404.2 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.01473, allocations: 0.5467 MB / 404.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01473, allocations: 0 / 404.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.01488, allocations: 59.84 kB / 404.8 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.01489, allocations: 4 kB / 404.8 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.0149, allocations: 12 kB / 404.8 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.01491, allocations: 7.969 kB / 404.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01491, allocations: 0 / 404.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.01539, allocations: 462.5 kB / 405.3 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.01544, allocations: 31.86 kB / 405.3 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.01546, allocations: 8 kB / 405.3 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/0.01553, allocations: 11.98 kB / 405.3 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.01559, allocations: 16.03 kB / 405.3 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.01559, allocations: 4 kB / 405.3 MB, free: 6.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.587e-05/0.01568, allocations: 144.6 kB / 405.5 MB, free: 6.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01568, allocations: 0 / 405.5 MB, free: 6.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.01589, allocations: 51.94 kB / 405.5 MB, free: 6.129 MB / 330.7 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.001021/0.01691, allocations: 1.002 MB / 406.5 MB, free: 5.078 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.01723, allocations: 264 kB / 406.8 MB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01723, allocations: 0 / 406.8 MB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.01735, allocations: 157 kB / 406.9 MB, free: 4.629 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.01763, allocations: 50.95 kB / 407 MB, free: 4.582 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.01982, allocations: 2.407 MB / 409.4 MB, free: 2.027 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.153e-05/0.01991, allocations: 121.6 kB / 409.5 MB, free: 1.891 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.325e-05/0.02, allocations: 33.88 kB / 409.5 MB, free: 1.859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.926e-05/0.0201, allocations: 64.47 kB / 409.6 MB, free: 1.797 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0201, allocations: 0 / 409.6 MB, free: 1.797 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2684/0.2885, allocations: 5.772 MB / 415.4 MB, free: 27.67 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.219, allocations: 15.56 kB / 415.4 MB, free: 27.67 MB / 330.7 MB " [Timeout remaining time 652] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.513837925158441]