Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 96.97 kB / 16.24 MB, free: 6.336 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.001094/0.001094, allocations: 192 kB / 17.17 MB, free: 5.949 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.298/1.298, 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.05324/0.05324, allocations: 11.84 MB / 282.2 MB, free: 328 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.001435/0.001435, allocations: 67.91 kB / 342.4 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2135, allocations: 49.21 MB / 391.6 MB, free: 49.12 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.003453/0.217, allocations: 2.079 MB / 393.7 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009862/0.218, allocations: 0.6327 MB / 394.4 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/0.2181, allocations: 1.375 kB / 394.4 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.105e-05/0.2182, allocations: 13.84 kB / 394.4 MB, free: 47.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.2185, allocations: 72.78 kB / 394.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.2187, allocations: 28.84 kB / 394.5 MB, free: 47.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.2189, allocations: 150.7 kB / 394.6 MB, free: 47.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.219, allocations: 31.52 kB / 394.6 MB, free: 47.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2191, allocations: 57.95 kB / 394.7 MB, free: 47.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.2193, allocations: 59.92 kB / 394.8 MB, free: 47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.2193, allocations: 8.25 kB / 394.8 MB, free: 47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.022e-05/0.2194, allocations: 23.23 kB / 394.8 MB, free: 46.99 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.2194, allocations: 18.75 kB / 394.8 MB, free: 46.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.908e-05/0.2195, allocations: 58.31 kB / 394.9 MB, free: 46.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.2197, allocations: 113.4 kB / 395 MB, free: 46.9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2197, allocations: 1.344 kB / 395 MB, free: 46.9 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2197, allocations: 3.938 kB / 395 MB, free: 46.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.2197, allocations: 0 / 395 MB, free: 46.89 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005016/0.2202, allocations: 445.5 kB / 395.4 MB, free: 46.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2203, allocations: 13.84 kB / 395.4 MB, free: 46.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.2203, allocations: 15.88 kB / 395.4 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.2205, allocations: 202.8 kB / 395.6 MB, free: 46.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.2205, allocations: 9.156 kB / 395.7 MB, free: 46.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.2205, allocations: 12.34 kB / 395.7 MB, free: 46.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.2208, allocations: 98.77 kB / 395.8 MB, free: 46.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.2208, allocations: 0.7969 kB / 395.8 MB, free: 46.17 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.2208, allocations: 5.375 kB / 395.8 MB, free: 46.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2208, allocations: 1.469 kB / 395.8 MB, free: 46.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.2211, allocations: 84.41 kB / 395.9 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.2217, allocations: 0.5693 MB / 396.4 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.2219, allocations: 94 kB / 396.5 MB, free: 45.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.222, allocations: 51.58 kB / 396.6 MB, free: 45.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.2221, allocations: 5.75 kB / 396.6 MB, free: 45.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.2221, allocations: 35.59 kB / 396.6 MB, free: 45.47 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2221, allocations: 0 / 396.6 MB, free: 45.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.001417/0.2235, allocations: 403.9 kB / 397 MB, free: 45.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.2235, allocations: 86.92 kB / 397.1 MB, free: 45.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.2237, allocations: 150.8 kB / 397.2 MB, free: 45.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.2237, allocations: 29.7 kB / 397.3 MB, free: 45.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/0.2237, allocations: 103.6 kB / 397.4 MB, free: 44.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.2237, allocations: 31.03 kB / 397.4 MB, free: 44.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.2238, allocations: 22.91 kB / 397.4 MB, free: 44.9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.2238, allocations: 320.5 kB / 397.7 MB, free: 44.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.224, allocations: 49.31 kB / 397.8 MB, free: 44.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.2242, allocations: 66.73 kB / 397.8 MB, free: 44.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.2245, allocations: 170.3 kB / 398 MB, free: 44.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2245, allocations: 0 / 398 MB, free: 44.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003924/0.2249, allocations: 176.2 kB / 398.2 MB, free: 44.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.225, allocations: 38.34 kB / 398.2 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.225, allocations: 1.281 kB / 398.2 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.225, allocations: 4.594 kB / 398.2 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.2252, allocations: 34.48 kB / 398.3 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2252, allocations: 1.75 kB / 398.3 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2253, allocations: 12.17 kB / 398.3 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.2253, allocations: 7.109 kB / 398.3 MB, free: 44.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 7.146e-05/0.2254, allocations: 151.2 kB / 398.4 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.2255, allocations: 16.73 kB / 398.4 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.226, allocations: 211.8 kB / 398.6 MB, free: 44.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.226, allocations: 0.5156 kB / 398.6 MB, free: 44.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.226, allocations: 1 kB / 398.7 MB, free: 44.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.226, allocations: 94.58 kB / 398.7 MB, free: 43.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.2261, allocations: 6.797 kB / 398.7 MB, free: 43.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.2262, allocations: 11.34 kB / 398.8 MB, free: 43.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.2263, allocations: 12.34 kB / 398.8 MB, free: 43.9 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000531/0.2268, allocations: 330 kB / 399.1 MB, free: 43.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004393/0.2273, allocations: 374.6 kB / 399.5 MB, free: 43.38 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001859/0.2275, allocations: 66.59 kB / 399.5 MB, free: 43.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.829e-05/0.2275, allocations: 116.7 kB / 399.6 MB, free: 43.28 MB / 318.1 MB Notification: Performance of Backend: time 7.52e-07/0.2275, allocations: 0 / 399.6 MB, free: 43.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005656/0.2281, allocations: 206.2 kB / 399.8 MB, free: 43.13 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005513/0.2287, allocations: 0.7776 MB / 400.6 MB, free: 42.4 MB / 318.1 MB Notification: Performance of Templates: time 0.004891/0.2336, allocations: 2.111 MB / 402.7 MB, free: 41.47 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1)