Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.0009351/0.0009351, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009339/0.0009339, allocations: 169 kB / 23.27 MB, free: 1.223 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.9177/0.9177, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.03501/0.03501, allocations: 8.726 MB / 269 MB, free: 4.391 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: translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 341.3 MB, free: 7.789 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.736e-05, allocations: 6.141 kB / 341.3 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.003127/0.003154, allocations: 3.262 MB / 344.6 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.005482, allocations: 2.111 MB / 346.7 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.005686, allocations: 4 kB / 346.7 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.006077, allocations: 111.2 kB / 346.8 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005116/0.006588, allocations: 258.3 kB / 347 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008474/0.007436, allocations: 366.6 kB / 347.4 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005527/0.007989, allocations: 0.5248 MB / 347.9 MB, free: 1.125 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.008188, allocations: 72.31 kB / 348 MB, free: 1.055 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.008515, allocations: 283.3 kB / 348.3 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.008747, allocations: 171.5 kB / 348.4 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.008787, allocations: 32 kB / 348.5 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.009085, allocations: 239.7 kB / 348.7 MB, free: 352 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.009152, allocations: 99.59 kB / 348.8 MB, free: 252 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.058e-05/0.009232, allocations: 135.6 kB / 348.9 MB, free: 116 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005646/0.009797, allocations: 0.4905 MB / 349.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.009801, allocations: 0 / 349.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.009802, allocations: 0 / 349.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.009809, allocations: 0 / 349.4 MB, free: 15.62 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0007822/0.01059, allocations: 0.7446 MB / 350.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.01063, allocations: 12.03 kB / 350.2 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.0108, allocations: 84.52 kB / 350.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.01107, allocations: 276.4 kB / 350.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.0111, allocations: 21.03 kB / 350.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.01113, allocations: 36.12 kB / 350.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.01142, allocations: 269 kB / 350.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.01143, allocations: 0 / 350.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.01145, allocations: 12 kB / 350.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.01146, allocations: 8 kB / 350.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.01159, allocations: 107.1 kB / 351 MB, free: 13.98 MB / 282.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.0009927/0.01259, allocations: 0.9004 MB / 351.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.01276, allocations: 127 kB / 352 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.01281, allocations: 52.45 kB / 352.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.01285, allocations: 8 kB / 352.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.01288, allocations: 45.38 kB / 352.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.172e-06/0.01288, allocations: 0 / 352.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008273/0.0137, allocations: 0.5131 MB / 352.6 MB, free: 12.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.01373, allocations: 55.64 kB / 352.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.01392, allocations: 330.1 kB / 353 MB, free: 11.83 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.01394, allocations: 29.7 kB / 353 MB, free: 11.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.01406, allocations: 259.1 kB / 353.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.0141, allocations: 87.23 kB / 353.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.05e-05/0.01417, allocations: 75.55 kB / 353.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.01431, allocations: 0.5195 MB / 354 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.01437, allocations: 52.8 kB / 354 MB, free: 10.78 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.095e-05/0.01446, allocations: 134.1 kB / 354.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.01462, allocations: 168.1 kB / 354.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.01462, allocations: 0 / 354.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002298/0.01485, allocations: 217 kB / 354.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.01486, allocations: 8 kB / 354.5 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01487, allocations: 48 / 354.5 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.01488, allocations: 7.984 kB / 354.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.01507, allocations: 88.09 kB / 354.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01507, allocations: 4 kB / 354.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.947e-05/0.01514, allocations: 11.94 kB / 354.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.01516, allocations: 15.98 kB / 354.6 MB, free: 10.06 MB / 282.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: 9 * Number of states: 0 () * Number of discrete variables: 1 (checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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.0001313/0.01529, allocations: 180.5 kB / 354.8 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.01533, allocations: 35.81 kB / 354.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.0156, allocations: 229.1 kB / 355.1 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.0156, allocations: 0 / 355.1 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.0156, allocations: 4 kB / 355.1 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01561, allocations: 0 / 355.1 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.01611, allocations: 0.5296 MB / 355.6 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01612, allocations: 0 / 355.6 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.01628, allocations: 71.89 kB / 355.7 MB, free: 8.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.01629, allocations: 11.98 kB / 355.7 MB, free: 8.957 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.0163, allocations: 4 kB / 355.7 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.0163, allocations: 4 kB / 355.7 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01631, allocations: 0 / 355.7 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.01662, allocations: 384.5 kB / 356.1 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.01669, allocations: 55.7 kB / 356.1 MB, free: 8.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.01672, allocations: 8 kB / 356.1 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.01679, allocations: 8 kB / 356.2 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.01683, allocations: 27.89 kB / 356.2 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.01684, allocations: 8.031 kB / 356.2 MB, free: 8.449 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.01696, allocations: 226.9 kB / 356.4 MB, free: 8.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01696, allocations: 4 kB / 356.4 MB, free: 8.227 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002861/0.01725, allocations: 119.8 kB / 356.5 MB, free: 8.109 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0007421/0.01799, allocations: 412 kB / 356.9 MB, free: 7.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.01818, allocations: 134.7 kB / 357.1 MB, free: 7.688 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01819, allocations: 4 kB / 357.1 MB, free: 7.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.817e-05/0.01826, allocations: 83.56 kB / 357.1 MB, free: 7.598 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.01856, allocations: 89.06 kB / 357.2 MB, free: 7.516 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.01961, allocations: 0.6908 MB / 357.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.151e-05/0.01967, allocations: 100.6 kB / 358 MB, free: 6.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.01979, allocations: 50.94 kB / 358.1 MB, free: 6.625 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.01996, allocations: 150.1 kB / 358.2 MB, free: 6.477 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01996, allocations: 0 / 358.2 MB, free: 6.477 MB / 282.7 MB Notification: Performance of Templates: time 0.007283/0.02724, allocations: 5.846 MB / 364.1 MB, free: 0.7344 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.688263203948736]