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.001809/0.001809, allocations: 105.5 kB / 16.24 MB, free: 6.34 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.001965/0.001965, allocations: 188 kB / 17.17 MB, free: 5.945 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.32/1.32, allocations: 205.1 MB / 223 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05424/0.05424, allocations: 11.83 MB / 282.2 MB, free: 332 kB / 222.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.001459/0.001459, allocations: 71.89 kB / 342.4 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2017, allocations: 49.21 MB / 391.6 MB, free: 49.26 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003772/0.2055, allocations: 2.4 MB / 394 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.2081, allocations: 2.126 MB / 396.2 MB, free: 46.08 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.2083, allocations: 2.125 kB / 396.2 MB, free: 46.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003874/0.2087, allocations: 81.14 kB / 396.3 MB, free: 46.04 MB / 318.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.000374/0.2091, allocations: 122.3 kB / 396.4 MB, free: 45.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.2102, allocations: 409.5 kB / 396.8 MB, free: 45.78 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.2105, allocations: 249.7 kB / 397 MB, free: 45.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.2106, allocations: 48.88 kB / 397.1 MB, free: 45.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.2108, allocations: 93.55 kB / 397.2 MB, free: 45.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.211, allocations: 98.89 kB / 397.2 MB, free: 45.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.2111, allocations: 11.97 kB / 397.3 MB, free: 45.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004118/0.2115, allocations: 211.8 kB / 397.5 MB, free: 45.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.2116, allocations: 47.02 kB / 397.5 MB, free: 45.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.2117, allocations: 98.86 kB / 397.6 MB, free: 45.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.2122, allocations: 348 kB / 398 MB, free: 45.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2122, allocations: 0.9688 kB / 398 MB, free: 45.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2122, allocations: 0 / 398 MB, free: 45.26 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2122, allocations: 0 / 398 MB, free: 45.26 MB / 318.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.0006783/0.2129, allocations: 0.5467 MB / 398.5 MB, free: 44.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.213, allocations: 21.52 kB / 398.5 MB, free: 44.76 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.213, allocations: 28.84 kB / 398.5 MB, free: 44.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.2133, allocations: 255.3 kB / 398.8 MB, free: 44.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.2133, allocations: 13.53 kB / 398.8 MB, free: 44.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.2133, allocations: 13.19 kB / 398.8 MB, free: 44.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.2136, allocations: 159.1 kB / 399 MB, free: 44.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2137, allocations: 1.438 kB / 399 MB, free: 44.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.2137, allocations: 4 kB / 399 MB, free: 44.4 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2137, allocations: 3.344 kB / 399 MB, free: 44.4 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.2141, allocations: 150.1 kB / 399.1 MB, free: 44.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.215, allocations: 0.7979 MB / 399.9 MB, free: 43.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.2153, allocations: 106.1 kB / 400 MB, free: 43.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.2154, allocations: 53.98 kB / 400.1 MB, free: 43.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.03e-05/0.2155, allocations: 84.19 kB / 400.2 MB, free: 43.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.2155, allocations: 33.11 kB / 400.2 MB, free: 43.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 2.435e-06/0.2155, allocations: 4 kB / 400.2 MB, free: 43.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001444/0.217, allocations: 408.6 kB / 400.6 MB, free: 43.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.477e-05/0.217, allocations: 56.67 kB / 400.7 MB, free: 43.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.2172, allocations: 280.2 kB / 400.9 MB, free: 43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.2173, allocations: 29.7 kB / 401 MB, free: 42.97 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.2173, allocations: 151 kB / 401.1 MB, free: 42.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.2174, allocations: 36.89 kB / 401.1 MB, free: 42.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.2174, allocations: 37.61 kB / 401.2 MB, free: 42.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.2175, allocations: 340.2 kB / 401.5 MB, free: 42.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.2177, allocations: 56.08 kB / 401.6 MB, free: 42.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.2179, allocations: 92.89 kB / 401.7 MB, free: 42.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.2182, allocations: 160.5 kB / 401.8 MB, free: 42.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2182, allocations: 0 / 401.8 MB, free: 42.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004771/0.2187, allocations: 213.9 kB / 402 MB, free: 42.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2188, allocations: 5.688 kB / 402 MB, free: 42.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2188, allocations: 1.094 kB / 402 MB, free: 42.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2188, allocations: 6.234 kB / 402 MB, free: 42.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.219, allocations: 44.97 kB / 402.1 MB, free: 42.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.219, allocations: 6.734 kB / 402.1 MB, free: 42.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.2192, allocations: 15.8 kB / 402.1 MB, free: 42.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.2192, allocations: 9.938 kB / 402.1 MB, free: 42.07 MB / 318.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 8.537e-05/0.2193, allocations: 131.7 kB / 402.2 MB, free: 41.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.2194, allocations: 25.67 kB / 402.3 MB, free: 41.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005049/0.2199, allocations: 197.2 kB / 402.5 MB, free: 41.81 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2199, allocations: 5.047 kB / 402.5 MB, free: 41.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2199, allocations: 0 / 402.5 MB, free: 41.81 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.22, allocations: 106.2 kB / 402.6 MB, free: 41.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.22, allocations: 3.938 kB / 402.6 MB, free: 41.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.2202, allocations: 25.03 kB / 402.6 MB, free: 41.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.2202, allocations: 9.266 kB / 402.6 MB, free: 41.67 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005143/0.2208, allocations: 254.1 kB / 402.9 MB, free: 41.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004371/0.2212, allocations: 362.1 kB / 403.2 MB, free: 41.21 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001781/0.2214, allocations: 66.72 kB / 403.3 MB, free: 41.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.2216, allocations: 207.1 kB / 403.5 MB, free: 41.04 MB / 318.1 MB Notification: Performance of Backend: time 3.31e-07/0.2216, allocations: 4 kB / 403.5 MB, free: 41.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.223, allocations: 0.524 MB / 404 MB, free: 40.83 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007331/0.2238, allocations: 0.8736 MB / 404.9 MB, free: 40.05 MB / 318.1 MB Notification: Performance of Templates: time 0.007271/0.2311, allocations: 4.23 MB / 409.1 MB, free: 37.73 MB / 318.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)