Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 207.6 MB / 229.8 MB, free: 11.43 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05947/0.05947, allocations: 12 MB / 293.6 MB, free: 11.09 MB / 238.1 MB " [Timeout remaining time 180] 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.VariableRestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002177/0.002177, allocations: 77.38 kB / 411 MB, free: 44.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07652/0.0787, allocations: 51.89 MB / 462.9 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.004056/0.08275, allocations: 2.421 MB / 465.3 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.08606, allocations: 2.135 MB / 467.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.08622, allocations: 7.938 kB / 467.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.08659, allocations: 79.5 kB / 467.6 MB, free: 3.711 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.08698, allocations: 123.2 kB / 467.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.08809, allocations: 410.4 kB / 468.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.08847, allocations: 250.8 kB / 468.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.0886, allocations: 32.38 kB / 468.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.08879, allocations: 99.56 kB / 468.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.08896, allocations: 107.5 kB / 468.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.08899, allocations: 12 kB / 468.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003906/0.08938, allocations: 203.8 kB / 468.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/0.08946, allocations: 47.72 kB / 468.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.08958, allocations: 103.5 kB / 468.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005642/0.09015, allocations: 358.6 kB / 469.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09015, allocations: 4 kB / 469.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09015, allocations: 0 / 469.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.09016, allocations: 0 / 469.3 MB, free: 1.992 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008948/0.09105, allocations: 0.5485 MB / 469.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.09109, allocations: 15.89 kB / 469.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.593e-05/0.09115, allocations: 50.62 kB / 469.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.0912, allocations: 24.8 kB / 469.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.09162, allocations: 270.7 kB / 470.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.09164, allocations: 8 kB / 470.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.09166, allocations: 15.94 kB / 470.2 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.09201, allocations: 153.6 kB / 470.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.09202, allocations: 4 kB / 470.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.09204, allocations: 4 kB / 470.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.09205, allocations: 4 kB / 470.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/0.09243, allocations: 147.9 kB / 470.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.09367, allocations: 0.8019 MB / 471.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.09394, allocations: 102.6 kB / 471.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.09409, allocations: 56.77 kB / 471.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.0942, allocations: 81.11 kB / 471.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.09423, allocations: 34.56 kB / 471.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.09423, allocations: 0 / 471.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001569/0.0958, allocations: 408.9 kB / 472 MB, free: 15.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.09585, allocations: 55.41 kB / 472 MB, free: 14.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.09619, allocations: 290.6 kB / 472.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.09622, allocations: 25.7 kB / 472.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.09634, allocations: 147.9 kB / 472.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.09638, allocations: 39.69 kB / 472.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.09646, allocations: 33.67 kB / 472.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.09662, allocations: 330.8 kB / 472.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.09683, allocations: 63.95 kB / 472.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.09706, allocations: 96.17 kB / 473 MB, free: 13.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.09748, allocations: 164.8 kB / 473.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.09748, allocations: 8 kB / 473.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005353/0.09802, allocations: 213.3 kB / 473.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.09804, allocations: 4 kB / 473.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.09804, allocations: 0 / 473.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.09806, allocations: 4 kB / 473.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.0983, allocations: 47.84 kB / 473.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.09831, allocations: 4 kB / 473.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.09849, allocations: 15.92 kB / 473.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.09851, allocations: 8.125 kB / 473.5 MB, free: 13.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0002222/0.09873, allocations: 145.8 kB / 473.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.09879, allocations: 19.86 kB / 473.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006538/0.09945, allocations: 207.2 kB / 473.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.09945, allocations: 0 / 473.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.09946, allocations: 0 / 473.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.09947, allocations: 3.938 kB / 473.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.0999, allocations: 265.5 kB / 474.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.0999, allocations: 0 / 474.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.1001, allocations: 35.97 kB / 474.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.1001, allocations: 4 kB / 474.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1001, allocations: 0 / 474.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1001, allocations: 0 / 474.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1001, allocations: 7.938 kB / 474.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.1007, allocations: 279.2 kB / 474.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.1008, allocations: 109 kB / 474.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.1008, allocations: 4 kB / 474.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.101, allocations: 11.98 kB / 474.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.101, allocations: 19.92 kB / 474.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1011, allocations: 3.984 kB / 474.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.1013, allocations: 202 kB / 474.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1013, allocations: 0 / 474.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.1017, allocations: 87.8 kB / 474.9 MB, free: 11.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 12 * 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.002183/0.1039, allocations: 1.115 MB / 476 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005058/0.1044, allocations: 147.7 kB / 476.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1044, allocations: 0 / 476.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.1046, allocations: 72.14 kB / 476.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.1051, allocations: 52.41 kB / 476.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003609/0.1087, allocations: 2.378 MB / 478.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.1091, allocations: 0.7437 MB / 479.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.1093, allocations: 37.92 kB / 479.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.1094, allocations: 59.42 kB / 479.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1094, allocations: 0 / 479.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.139, allocations: 6.399 MB / 485.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.348, allocations: 14.67 kB / 485.9 MB, free: 0.8281 MB / 350.1 MB " [Timeout remaining time 652] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.875217845663428] Failed to read output from testmodel.py, exit status != 0: 8.471050527878106 8.494062233 8.399591106 Calling exit ...