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.0007772/0.0007772, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000828/0.0008281, allocations: 168.7 kB / 15.95 MB, free: 204 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.51/1.51, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05176/0.05176, allocations: 11.85 MB / 282.2 MB, free: 9.473 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.0005853/0.0005855, allocations: 23.98 kB / 343 MB, free: 22.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09273/0.09333, allocations: 50.21 MB / 393.2 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.002672/0.09604, allocations: 2.281 MB / 395.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.0986, allocations: 1.985 MB / 397.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.09881, allocations: 4 kB / 397.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.09917, allocations: 71.64 kB / 397.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.09953, allocations: 131.1 kB / 397.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008629/0.1004, allocations: 307.5 kB / 398 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.1007, allocations: 226.8 kB / 398.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1008, allocations: 40.59 kB / 398.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.101, allocations: 95.5 kB / 398.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.1011, allocations: 87.61 kB / 398.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1012, allocations: 4 kB / 398.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.1015, allocations: 187.8 kB / 398.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.1016, allocations: 35.84 kB / 398.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.1016, allocations: 65.58 kB / 398.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.102, allocations: 255.5 kB / 399 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.102, allocations: 0 / 399 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.102, allocations: 0 / 399 MB, free: 14.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.102, allocations: 0 / 399 MB, free: 14.34 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.0007899/0.1028, allocations: 0.5177 MB / 399.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1029, allocations: 8.031 kB / 399.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.994e-05/0.1029, allocations: 50.55 kB / 399.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.103, allocations: 27.67 kB / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.1032, allocations: 249.6 kB / 399.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1033, allocations: 12 kB / 399.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.1033, allocations: 12 kB / 399.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.1036, allocations: 157.6 kB / 400 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1036, allocations: 0 / 400 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1037, allocations: 8 kB / 400 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1037, allocations: 4 kB / 400 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.104, allocations: 159.8 kB / 400.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009946/0.105, allocations: 0.7979 MB / 401 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.1053, allocations: 110.5 kB / 401.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.1054, allocations: 56.92 kB / 401.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.1055, allocations: 85.11 kB / 401.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.1055, allocations: 30.56 kB / 401.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1055, allocations: 0 / 401.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001405/0.107, allocations: 488.5 kB / 401.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.107, allocations: 51.41 kB / 401.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.1073, allocations: 282.6 kB / 402.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.1073, allocations: 29.7 kB / 402.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.902e-05/0.1074, allocations: 151.7 kB / 402.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.1075, allocations: 43.44 kB / 402.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.1075, allocations: 4 kB / 402.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1076, allocations: 334.8 kB / 402.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.1078, allocations: 68.45 kB / 402.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.108, allocations: 108.2 kB / 402.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.1082, allocations: 75.97 kB / 402.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1082, allocations: 0 / 402.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004929/0.1087, allocations: 229.2 kB / 403.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1088, allocations: 4 kB / 403.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1088, allocations: 12 kB / 403.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1088, allocations: 4 kB / 403.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.109, allocations: 47.95 kB / 403.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.109, allocations: 7.953 kB / 403.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.1092, allocations: 19.98 kB / 403.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.1092, allocations: 15.94 kB / 403.2 MB, free: 9.82 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.0001233/0.1094, allocations: 138.7 kB / 403.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.1094, allocations: 19.72 kB / 403.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.1099, allocations: 220.9 kB / 403.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1099, allocations: 0 / 403.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1099, allocations: 0 / 403.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.11, allocations: 11.94 kB / 403.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.1106, allocations: 0.5234 MB / 404.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1106, allocations: 0 / 404.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.1108, allocations: 31.92 kB / 404.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1108, allocations: 3.984 kB / 404.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1108, allocations: 7.953 kB / 404.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1108, allocations: 0 / 404.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1108, allocations: 4.062 kB / 404.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.1113, allocations: 288.8 kB / 404.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/0.1114, allocations: 112.9 kB / 404.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.1114, allocations: 0 / 404.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1116, allocations: 27.94 kB / 404.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.1116, allocations: 7.984 kB / 404.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.1116, allocations: 4 kB / 404.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001942/0.1118, allocations: 214.1 kB / 404.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1118, allocations: 0 / 404.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.1122, allocations: 83.92 kB / 404.9 MB, free: 8.02 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.001589/0.1138, allocations: 1.138 MB / 406 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004487/0.1143, allocations: 159.8 kB / 406.2 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1143, allocations: 0 / 406.2 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.1145, allocations: 76.25 kB / 406.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.1151, allocations: 52.81 kB / 406.3 MB, free: 6.672 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.1172, allocations: 1.336 MB / 407.6 MB, free: 5.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.1175, allocations: 0.7437 MB / 408.4 MB, free: 4.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.1176, allocations: 34.03 kB / 408.4 MB, free: 4.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.1177, allocations: 63.41 kB / 408.5 MB, free: 4.406 MB / 302.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1177, allocations: 0 / 408.5 MB, free: 4.406 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.1344, allocations: 5.751 MB / 414.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.1346, allocations: 248.4 kB / 414.4 MB, free: 14.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/1.908, allocations: 0 / 414.4 MB, free: 14.41 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: