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.001227/0.001227, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001582/0.001582, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0527/0.0527, allocations: 11.85 MB / 282.2 MB, free: 9.504 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.000556/0.000556, allocations: 16.22 kB / 343 MB, free: 22.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0743/0.07487, allocations: 50.21 MB / 393.2 MB, free: 4.145 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.002266/0.07716, allocations: 2.161 MB / 395.4 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.07949, allocations: 1.919 MB / 397.3 MB, free: 44 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.07961, allocations: 7.938 kB / 397.3 MB, free: 36 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.07984, allocations: 67.7 kB / 397.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.08017, allocations: 167.4 kB / 397.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.08082, allocations: 306.7 kB / 397.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.08107, allocations: 171.6 kB / 398 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.283e-05/0.08118, allocations: 44.59 kB / 398 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.0813, allocations: 79.69 kB / 398.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.08144, allocations: 91.55 kB / 398.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.08146, allocations: 4 kB / 398.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.08176, allocations: 179.8 kB / 398.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.08182, allocations: 39.83 kB / 398.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.08188, allocations: 61.58 kB / 398.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.08217, allocations: 247.5 kB / 398.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.08218, allocations: 0 / 398.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.08219, allocations: 0 / 398.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.0822, allocations: 0 / 398.7 MB, free: 14.6 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.0005818/0.08279, allocations: 0.5179 MB / 399.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.08282, allocations: 8.031 kB / 399.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.08287, allocations: 42.56 kB / 399.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.08292, allocations: 31.66 kB / 399.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.08317, allocations: 249.6 kB / 399.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.0832, allocations: 8 kB / 399.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.08322, allocations: 12 kB / 399.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.08352, allocations: 157.6 kB / 399.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.08354, allocations: 0 / 399.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.08356, allocations: 8 kB / 399.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.08357, allocations: 0 / 399.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/0.08392, allocations: 167.8 kB / 399.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009005/0.08483, allocations: 0.794 MB / 400.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.08508, allocations: 114.5 kB / 400.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-05/0.08517, allocations: 89.08 kB / 400.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.0852, allocations: 34.5 kB / 400.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.08521, allocations: 0 / 400.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001437/0.08665, allocations: 488.6 kB / 401.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.08669, allocations: 55.36 kB / 401.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.08695, allocations: 278.7 kB / 401.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.08698, allocations: 29.7 kB / 401.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.08707, allocations: 151.7 kB / 401.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.08711, allocations: 35.45 kB / 401.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.08713, allocations: 8 kB / 401.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.08724, allocations: 334.8 kB / 402.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.08745, allocations: 63.95 kB / 402.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.08768, allocations: 116 kB / 402.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.08789, allocations: 75.97 kB / 402.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.0879, allocations: 0 / 402.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005/0.0884, allocations: 229.1 kB / 402.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.08843, allocations: 8 kB / 402.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.08843, allocations: 0 / 402.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.08845, allocations: 4 kB / 402.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.08868, allocations: 52.08 kB / 402.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.0887, allocations: 7.953 kB / 402.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.08886, allocations: 15.98 kB / 402.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.08888, allocations: 4 kB / 402.8 MB, free: 10.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.08903, allocations: 149.8 kB / 403 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.08908, allocations: 19.72 kB / 403 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005494/0.08963, allocations: 225.4 kB / 403.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.08965, allocations: 0 / 403.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.08965, allocations: 0 / 403.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.08966, allocations: 4.047 kB / 403.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000755/0.09043, allocations: 0.5272 MB / 403.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.09044, allocations: 4 kB / 403.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.0906, allocations: 31.97 kB / 403.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.09061, allocations: 0 / 403.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.09062, allocations: 4 kB / 403.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.09063, allocations: 7.891 kB / 403.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.09064, allocations: 0 / 403.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.09111, allocations: 316.3 kB / 404.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.09122, allocations: 116.8 kB / 404.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.09126, allocations: 4 kB / 404.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.09145, allocations: 23.97 kB / 404.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.09149, allocations: 7.984 kB / 404.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.0915, allocations: 8 kB / 404.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.0917, allocations: 210 kB / 404.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09171, allocations: 0 / 404.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003457/0.09206, allocations: 75.98 kB / 404.5 MB, free: 8.309 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001508/0.09358, allocations: 1.287 MB / 405.8 MB, free: 7.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004437/0.09403, allocations: 163.8 kB / 406 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.09405, allocations: 0 / 406 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.09425, allocations: 76.27 kB / 406.1 MB, free: 6.855 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.0946, allocations: 61.59 kB / 406.1 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.09673, allocations: 1.928 MB / 408.1 MB, free: 4.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.09702, allocations: 0.7479 MB / 408.8 MB, free: 4.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.09715, allocations: 30.09 kB / 408.8 MB, free: 3.992 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.549e-05/0.09725, allocations: 63.41 kB / 408.9 MB, free: 3.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09726, allocations: 4 kB / 408.9 MB, free: 3.926 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.1111, allocations: 5.732 MB / 414.6 MB, free: 14.21 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.1114, allocations: 239 kB / 414.9 MB, free: 13.96 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/1.78, allocations: 0 / 414.9 MB, free: 13.96 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/linux/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) Environment - environmentSimulation: