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.001316/0.001316, allocations: 113.5 kB / 16.47 MB, free: 5.961 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.001307/0.001307, allocations: 189.3 kB / 17.4 MB, free: 5.516 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.393/1.393, allocations: 207.6 MB / 225.8 MB, free: 11.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05885/0.05885, allocations: 12.01 MB / 287.6 MB, free: 13.17 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.002259/0.002259, allocations: 76.89 kB / 403.5 MB, free: 43.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07873/0.08099, allocations: 51.9 MB / 455.4 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.005343/0.08633, allocations: 2.423 MB / 457.8 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004252/0.09058, allocations: 2.135 MB / 460 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.09074, allocations: 4 kB / 460 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.09119, allocations: 75.52 kB / 460 MB, free: 4.27 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000456/0.09165, allocations: 123.2 kB / 460.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.093, allocations: 414.4 kB / 460.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004511/0.09346, allocations: 254.8 kB / 460.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.0936, allocations: 40.31 kB / 460.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.09382, allocations: 91.58 kB / 460.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.09406, allocations: 107.5 kB / 461 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.0941, allocations: 12 kB / 461.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005263/0.09462, allocations: 199.8 kB / 461.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.09473, allocations: 47.77 kB / 461.3 MB, free: 3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.09487, allocations: 95.42 kB / 461.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007256/0.09559, allocations: 358.6 kB / 461.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.0956, allocations: 8 kB / 461.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0956, allocations: 0 / 461.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.0956, allocations: 0 / 461.8 MB, free: 2.547 MB / 334.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.00111/0.09671, allocations: 0.5562 MB / 462.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.09676, allocations: 11.89 kB / 462.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.117e-05/0.09685, allocations: 24.8 kB / 462.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.09736, allocations: 266.9 kB / 462.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.09738, allocations: 15.94 kB / 462.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.09742, allocations: 12 kB / 462.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.0979, allocations: 153.6 kB / 462.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.09791, allocations: 0 / 462.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.09793, allocations: 4 kB / 462.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.09794, allocations: 4 kB / 462.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005039/0.09844, allocations: 147.9 kB / 462.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.0998, allocations: 0.798 MB / 463.7 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.1001, allocations: 98.5 kB / 463.8 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.1003, allocations: 56.91 kB / 463.9 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.1004, allocations: 93.09 kB / 464 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.1004, allocations: 30.75 kB / 464 MB, free: 48 kB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.1004, allocations: 3.938 kB / 464 MB, free: 44 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001631/0.102, allocations: 400.9 kB / 464.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.1021, allocations: 55.41 kB / 464.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.1024, allocations: 286.6 kB / 464.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1024, allocations: 25.7 kB / 464.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.1026, allocations: 155.9 kB / 464.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.1026, allocations: 39.59 kB / 464.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.1027, allocations: 37.66 kB / 465 MB, free: 15.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1029, allocations: 338.8 kB / 465.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.1031, allocations: 59.95 kB / 465.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.1033, allocations: 99.89 kB / 465.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.1038, allocations: 160.1 kB / 465.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1038, allocations: 0 / 465.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005562/0.1044, allocations: 209.5 kB / 465.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1044, allocations: 8 kB / 465.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1044, allocations: 0 / 465.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1044, allocations: 4 kB / 465.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.1046, allocations: 43.91 kB / 465.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.1047, allocations: 3.984 kB / 465.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.1048, allocations: 15.98 kB / 465.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.1048, allocations: 11.94 kB / 465.9 MB, free: 14.05 MB / 350.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.0001473/0.105, allocations: 145.7 kB / 466.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.105, allocations: 27.84 kB / 466.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005819/0.1056, allocations: 191.8 kB / 466.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1056, allocations: 3.984 kB / 466.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1056, allocations: 4 kB / 466.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1057, allocations: 113 kB / 466.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.1058, allocations: 7.875 kB / 466.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.106, allocations: 19.91 kB / 466.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.106, allocations: 11.98 kB / 466.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005988/0.1066, allocations: 253.1 kB / 466.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005739/0.1072, allocations: 358.5 kB / 467 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000222/0.1074, allocations: 67.94 kB / 467.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.1076, allocations: 202 kB / 467.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of Backend: time 3.61e-07/0.1076, allocations: 0 / 467.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.1099, allocations: 0.5196 MB / 467.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of SimCode: time 0.001036/0.111, allocations: 0.8602 MB / 468.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Templates: time 0.009545/0.1205, allocations: 4.305 MB / 473 MB, free: 7.012 MB / 350.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile (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)