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: translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009172/0.0009173, allocations: 99.94 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.0009308/0.0009307, allocations: 177.3 kB / 15.95 MB, free: 216 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.366/1.366, allocations: 205.4 MB / 222.1 MB, free: 5.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.05317/0.05317, allocations: 11.86 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.0006595/0.0006596, allocations: 15.98 kB / 342.9 MB, free: 22.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1017, allocations: 50.21 MB / 393.1 MB, free: 4.242 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003006/0.1047, allocations: 2.161 MB / 395.3 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.1073, allocations: 1.919 MB / 397.2 MB, free: 144 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.1075, allocations: 4 kB / 397.2 MB, free: 140 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.1078, allocations: 75.62 kB / 397.3 MB, free: 64 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.1082, allocations: 167.4 kB / 397.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.1089, allocations: 299.2 kB / 397.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.1092, allocations: 167.6 kB / 397.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1093, allocations: 40.66 kB / 397.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1095, allocations: 83.69 kB / 398 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.1096, allocations: 79.62 kB / 398.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1096, allocations: 8 kB / 398.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003172/0.11, allocations: 187.7 kB / 398.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.493e-05/0.11, allocations: 31.89 kB / 398.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.1101, allocations: 65.58 kB / 398.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.1105, allocations: 239.5 kB / 398.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1105, allocations: 0 / 398.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1105, allocations: 7.875 kB / 398.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1105, allocations: 4 kB / 398.6 MB, free: 14.7 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.0006907/0.1112, allocations: 0.5139 MB / 399.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1112, allocations: 12.03 kB / 399.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.1113, allocations: 31.67 kB / 399.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.1116, allocations: 253.6 kB / 399.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1116, allocations: 8 kB / 399.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.1117, allocations: 16 kB / 399.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.112, allocations: 157.6 kB / 399.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.112, allocations: 3.984 kB / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.112, allocations: 4 kB / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.112, allocations: 8 kB / 399.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.1124, allocations: 155.9 kB / 399.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000978/0.1134, allocations: 0.7978 MB / 400.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1136, allocations: 110.6 kB / 400.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.824e-05/0.1137, allocations: 85.11 kB / 400.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1138, allocations: 30.75 kB / 400.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 3.035e-06/0.1138, allocations: 0 / 400.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001483/0.1153, allocations: 484.4 kB / 401.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1153, allocations: 63.36 kB / 401.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.1156, allocations: 278.7 kB / 401.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1156, allocations: 29.7 kB / 401.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1157, allocations: 151.7 kB / 401.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.1158, allocations: 35.45 kB / 401.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.1158, allocations: 0 / 401.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1159, allocations: 334.8 kB / 402.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.1161, allocations: 71.95 kB / 402.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.1163, allocations: 107.8 kB / 402.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.1166, allocations: 83.95 kB / 402.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1166, allocations: 0 / 402.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004945/0.1171, allocations: 229.2 kB / 402.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1171, allocations: 4 kB / 402.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1171, allocations: 4 kB / 402.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.1171, allocations: 3.984 kB / 402.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.1174, allocations: 52.03 kB / 402.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1174, allocations: 0 / 402.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.1176, allocations: 27.94 kB / 402.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1176, allocations: 7.984 kB / 402.7 MB, free: 10.3 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.0001634/0.1178, allocations: 137.8 kB / 402.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.1178, allocations: 27.72 kB / 402.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005791/0.1184, allocations: 221.4 kB / 403.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1184, allocations: 4 kB / 403.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1185, allocations: 0 / 403.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1185, allocations: 0 / 403.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000732/0.1192, allocations: 0.5194 MB / 403.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1192, allocations: 0 / 403.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.1194, allocations: 40.12 kB / 403.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1194, allocations: 7.938 kB / 403.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1194, allocations: 0 / 403.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1194, allocations: 3.953 kB / 403.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1194, allocations: 8 kB / 403.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.1199, allocations: 308.4 kB / 404 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.12, allocations: 120.7 kB / 404.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.1201, allocations: 11.98 kB / 404.1 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.1202, allocations: 19.92 kB / 404.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.1203, allocations: 11.92 kB / 404.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1203, allocations: 8 kB / 404.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.1205, allocations: 210 kB / 404.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1205, allocations: 0 / 404.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003693/0.1209, allocations: 75.98 kB / 404.4 MB, free: 8.453 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.0009583/0.1219, allocations: 410.4 kB / 404.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004713/0.1224, allocations: 151.8 kB / 405 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1224, allocations: 0 / 405 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.1226, allocations: 80.27 kB / 405 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.123, allocations: 53.66 kB / 405.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007153/0.1237, allocations: 470.1 kB / 405.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.124, allocations: 0.7479 MB / 406.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.1241, allocations: 29.95 kB / 406.3 MB, free: 6.574 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.1242, allocations: 23.42 kB / 406.3 MB, free: 6.551 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1242, allocations: 0 / 406.3 MB, free: 6.551 MB / 302.1 MB Notification: Performance of Templates: time 0.006609/0.1308, allocations: 3.533 MB / 409.9 MB, free: 3.027 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile Environment - environmentSimulation: (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 & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1) Environment - environmentSimulation: