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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006896/0.0006896, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.003826/0.003826, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.129/1.129, allocations: 205.4 MB / 222.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04835/0.04835, allocations: 11.85 MB / 282.6 MB, free: 9.348 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.0005108/0.0005108, allocations: 18.72 kB / 343.6 MB, free: 22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06643/0.06695, allocations: 50.21 MB / 393.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.002439/0.06941, allocations: 2.366 MB / 396.2 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.07198, allocations: 2.167 MB / 398.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.07216, allocations: 7.938 kB / 398.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.07245, allocations: 71.7 kB / 398.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.07271, allocations: 95.44 kB / 398.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000715/0.07344, allocations: 333.6 kB / 398.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.0737, allocations: 242.8 kB / 399.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.07381, allocations: 48.59 kB / 399.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.07395, allocations: 83.58 kB / 399.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.07408, allocations: 95.55 kB / 399.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.0741, allocations: 4 kB / 399.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.0744, allocations: 199.8 kB / 399.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.07447, allocations: 39.83 kB / 399.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.051e-05/0.07457, allocations: 121.1 kB / 399.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.07493, allocations: 343 kB / 400 MB, free: 13.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.07495, allocations: 0 / 400 MB, free: 13.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07495, allocations: 0 / 400 MB, free: 13.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.07496, allocations: 4 kB / 400 MB, free: 13.52 MB / 302.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.0005823/0.07555, allocations: 0.5141 MB / 400.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.07559, allocations: 8.031 kB / 400.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.07563, allocations: 46.73 kB / 400.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.07567, allocations: 24.66 kB / 400.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.0759, allocations: 262.5 kB / 400.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.07592, allocations: 16 kB / 400.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.07595, allocations: 12 kB / 400.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.07626, allocations: 153.6 kB / 401 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.07627, allocations: 3.938 kB / 401.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.07629, allocations: 8 kB / 401.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.0763, allocations: 0 / 401.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.07664, allocations: 167.9 kB / 401.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008506/0.0775, allocations: 0.8017 MB / 402 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.07773, allocations: 102.6 kB / 402.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.07787, allocations: 60.97 kB / 402.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/0.07796, allocations: 85.11 kB / 402.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.07798, allocations: 38.67 kB / 402.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.07799, allocations: 0 / 402.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001385/0.07938, allocations: 476.4 kB / 402.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.07941, allocations: 51.41 kB / 402.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.07966, allocations: 290.6 kB / 403.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.07968, allocations: 29.7 kB / 403.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.07976, allocations: 148.3 kB / 403.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.0798, allocations: 39.44 kB / 403.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.07984, allocations: 17.72 kB / 403.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.07993, allocations: 334.8 kB / 403.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.08013, allocations: 71.95 kB / 403.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.08035, allocations: 108 kB / 403.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.08075, allocations: 188 kB / 404 MB, free: 9.188 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.08076, allocations: 8 kB / 404 MB, free: 9.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000473/0.08124, allocations: 225.3 kB / 404.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.08126, allocations: 7.984 kB / 404.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.08127, allocations: 0 / 404.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.08128, allocations: 4 kB / 404.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.0815, allocations: 47.91 kB / 404.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.08151, allocations: 4 kB / 404.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.08167, allocations: 27.94 kB / 404.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.08169, allocations: 4 kB / 404.3 MB, free: 8.859 MB / 302.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.0001024/0.0818, allocations: 146.6 kB / 404.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.08185, allocations: 19.72 kB / 404.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.08235, allocations: 228.8 kB / 404.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.08237, allocations: 0 / 404.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.08237, allocations: 0 / 404.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.08238, allocations: 3.938 kB / 404.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006744/0.08306, allocations: 0.5196 MB / 405.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.08307, allocations: 0 / 405.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.08321, allocations: 40.03 kB / 405.3 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.08323, allocations: 3.938 kB / 405.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.08324, allocations: 4 kB / 405.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.08325, allocations: 0 / 405.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.08325, allocations: 0 / 405.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.08369, allocations: 292.8 kB / 405.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.823e-05/0.08378, allocations: 116.8 kB / 405.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.08381, allocations: 4.125 kB / 405.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.08398, allocations: 27.97 kB / 405.7 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.08402, allocations: 11.88 kB / 405.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.08403, allocations: 0 / 405.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.08422, allocations: 217.9 kB / 406 MB, free: 7.121 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.08423, allocations: 0 / 406 MB, free: 7.121 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.08454, allocations: 83.98 kB / 406 MB, free: 7.039 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.00135/0.0859, allocations: 1.126 MB / 407.2 MB, free: 5.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004252/0.08634, allocations: 155.8 kB / 407.3 MB, free: 5.844 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.08635, allocations: 4 kB / 407.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.08654, allocations: 76.25 kB / 407.4 MB, free: 5.766 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.08697, allocations: 52.84 kB / 407.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.08971, allocations: 2.558 MB / 410 MB, free: 3.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.08995, allocations: 0.7359 MB / 410.7 MB, free: 2.281 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.09008, allocations: 42.06 kB / 410.8 MB, free: 2.238 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.241e-05/0.09018, allocations: 67.42 kB / 410.8 MB, free: 2.172 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.09019, allocations: 4 kB / 410.8 MB, free: 2.168 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.1046, allocations: 5.769 MB / 416.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.1048, allocations: 250.2 kB / 416.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/1.804, allocations: 3.938 kB / 416.9 MB, free: 12.15 MB / 318.1 MB (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 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1)