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.00109/0.00109, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001119/0.001119, allocations: 192.3 kB / 16.25 MB, free: 6.148 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.134/1.134, allocations: 205.1 MB / 222.1 MB, free: 4.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04907/0.04907, allocations: 11.83 MB / 281.3 MB, free: 9.555 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.001312/0.001312, allocations: 72.41 kB / 341.4 MB, free: 22.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06452/0.06584, allocations: 49.21 MB / 390.6 MB, free: 4.93 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003308/0.06918, allocations: 2.728 MB / 393.4 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.07151, allocations: 2.143 MB / 395.5 MB, free: 28 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.07163, allocations: 4 kB / 395.5 MB, free: 24 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.07193, allocations: 71.7 kB / 395.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.07218, allocations: 107.4 kB / 395.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006903/0.07288, allocations: 365.9 kB / 396 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.07312, allocations: 250.9 kB / 396.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/0.07323, allocations: 44.36 kB / 396.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.07338, allocations: 95.58 kB / 396.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.0735, allocations: 99.5 kB / 396.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.07353, allocations: 15.98 kB / 396.5 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.07382, allocations: 199.8 kB / 396.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.07389, allocations: 51.77 kB / 396.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.634e-05/0.07398, allocations: 103.4 kB / 396.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.07436, allocations: 347 kB / 397.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.07437, allocations: 4 kB / 397.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.07438, allocations: 0 / 397.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.07439, allocations: 0 / 397.2 MB, free: 14.3 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.0006436/0.07503, allocations: 0.5452 MB / 397.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.07507, allocations: 15.89 kB / 397.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.07512, allocations: 50.73 kB / 397.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.07517, allocations: 32.53 kB / 397.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.0754, allocations: 258.6 kB / 398.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.07542, allocations: 8 kB / 398.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.07545, allocations: 12 kB / 398.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.07574, allocations: 157.5 kB / 398.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.07576, allocations: 0 / 398.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.07578, allocations: 4 kB / 398.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.07579, allocations: 4 kB / 398.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.07611, allocations: 155.9 kB / 398.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008745/0.077, allocations: 0.79 MB / 399.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.07722, allocations: 106.5 kB / 399.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.07735, allocations: 56.97 kB / 399.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.907e-05/0.07744, allocations: 85.09 kB / 399.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.07747, allocations: 30.56 kB / 399.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.07748, allocations: 0 / 399.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001291/0.07877, allocations: 408.5 kB / 399.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.07881, allocations: 51.41 kB / 400 MB, free: 11.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.07905, allocations: 282.7 kB / 400.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.07908, allocations: 33.69 kB / 400.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.07917, allocations: 143.8 kB / 400.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.0792, allocations: 39.45 kB / 400.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.07926, allocations: 33.7 kB / 400.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.07938, allocations: 338.8 kB / 400.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.07956, allocations: 59.89 kB / 400.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.07977, allocations: 104 kB / 401 MB, free: 10.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.08014, allocations: 164.2 kB / 401.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.08015, allocations: 4.562 kB / 401.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004422/0.0806, allocations: 209.2 kB / 401.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.08062, allocations: 4 kB / 401.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.08063, allocations: 0 / 401.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.08064, allocations: 4 kB / 401.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.08086, allocations: 48.02 kB / 401.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.08088, allocations: 7.938 kB / 401.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.08103, allocations: 19.92 kB / 401.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.08105, allocations: 4 kB / 401.4 MB, free: 9.758 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.0001041/0.08116, allocations: 134.7 kB / 401.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.08121, allocations: 27.66 kB / 401.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004773/0.08169, allocations: 200.9 kB / 401.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.0817, allocations: 0 / 401.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.08171, allocations: 0 / 401.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.08172, allocations: 7.922 kB / 401.8 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006571/0.08238, allocations: 0.5038 MB / 402.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.08239, allocations: 0 / 402.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.08253, allocations: 27.97 kB / 402.3 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.08254, allocations: 3.938 kB / 402.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.08256, allocations: 8 kB / 402.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.08256, allocations: 0 / 402.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.08257, allocations: 4.062 kB / 402.3 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.08297, allocations: 268.8 kB / 402.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.974e-05/0.08306, allocations: 100.9 kB / 402.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.0831, allocations: 11.92 kB / 402.7 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.08326, allocations: 15.98 kB / 402.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.08331, allocations: 11.98 kB / 402.7 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.08333, allocations: 4 kB / 402.7 MB, free: 8.316 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.08351, allocations: 210 kB / 403 MB, free: 8.113 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08351, allocations: 0 / 403 MB, free: 8.113 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003247/0.08384, allocations: 83.92 kB / 403 MB, free: 8.031 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.001365/0.08521, allocations: 1.116 MB / 404.2 MB, free: 7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.08563, allocations: 139.8 kB / 404.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.08564, allocations: 0 / 404.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.08582, allocations: 63.89 kB / 404.4 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.08627, allocations: 65.22 kB / 404.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.08902, allocations: 2.471 MB / 406.9 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.08929, allocations: 0.7398 MB / 407.6 MB, free: 3.391 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.08941, allocations: 41.86 kB / 407.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.08952, allocations: 67.41 kB / 407.7 MB, free: 3.285 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.08952, allocations: 0 / 407.7 MB, free: 3.285 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.525/3.614, allocations: 6.075 MB / 413.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/3.614, allocations: 259 kB / 414.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/5.849, allocations: 7.938 kB / 414.1 MB, free: 12.92 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)