Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008164/0.0008164, allocations: 73.88 kB / 20.66 MB, free: 3.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9324/0.9324, allocations: 177.1 MB / 204.5 MB, free: 5.535 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.05579/0.05579, allocations: 12.76 MB / 273.8 MB, free: 160 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Bodylight.Hydraulic.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation") translateModel(Bodylight.Hydraulic.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 347.9 MB, free: 1.004 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.59e-05, allocations: 6.312 kB / 347.9 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.002942/0.002958, allocations: 2.816 MB / 350.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009494/0.003907, allocations: 0.6583 MB / 351.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.004013, allocations: 11.94 kB / 351.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.004146, allocations: 39.58 kB / 351.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.004347, allocations: 91.23 kB / 351.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.004497, allocations: 67.78 kB / 351.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.00479, allocations: 322.3 kB / 351.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.004906, allocations: 32.58 kB / 352 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.005096, allocations: 159.7 kB / 352.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.005261, allocations: 99.7 kB / 352.2 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.005293, allocations: 16 kB / 352.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.811e-05/0.005321, allocations: 16 kB / 352.2 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.005364, allocations: 43.83 kB / 352.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.561e-05/0.005449, allocations: 79.83 kB / 352.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.005668, allocations: 179.3 kB / 352.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.00567, allocations: 0 / 352.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.00567, allocations: 3.938 kB / 352.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.005675, allocations: 4 kB / 352.5 MB, free: 12.36 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006355/0.00631, allocations: 0.564 MB / 353.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.006344, allocations: 11.98 kB / 353.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.006404, allocations: 36.8 kB / 353.1 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.006628, allocations: 205 kB / 353.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.582e-05/0.006683, allocations: 68.25 kB / 353.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.006715, allocations: 16.38 kB / 353.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.006961, allocations: 192.4 kB / 353.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.006975, allocations: 192 / 353.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.006993, allocations: 11.94 kB / 353.6 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.006999, allocations: 0 / 353.6 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.00711, allocations: 52.17 kB / 353.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.00772, allocations: 459.8 kB / 354.1 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.007922, allocations: 107 kB / 354.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.00801, allocations: 55.62 kB / 354.3 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.008027, allocations: 4 kB / 354.3 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.008178, allocations: 152.2 kB / 354.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.542e-06/0.00818, allocations: 0 / 354.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002477/0.008427, allocations: 141.4 kB / 354.6 MB, free: 10.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.008453, allocations: 59.41 kB / 354.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.008579, allocations: 231.1 kB / 354.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.008598, allocations: 29.7 kB / 354.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.008677, allocations: 183.1 kB / 355.1 MB, free: 9.602 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.008716, allocations: 51.52 kB / 355.1 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.008785, allocations: 47.34 kB / 355.2 MB, free: 9.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.008911, allocations: 0.504 MB / 355.7 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.00897, allocations: 45.69 kB / 355.7 MB, free: 8.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.00904, allocations: 78.86 kB / 355.8 MB, free: 8.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.009151, allocations: 99.73 kB / 355.9 MB, free: 8.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.009153, allocations: 0 / 355.9 MB, free: 8.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002243/0.009377, allocations: 200.8 kB / 356.1 MB, free: 8.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.009403, allocations: 33.7 kB / 356.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.009407, allocations: 0 / 356.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.009418, allocations: 0 / 356.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.009667, allocations: 55.95 kB / 356.2 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.009672, allocations: 7.938 kB / 356.2 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.009776, allocations: 23.91 kB / 356.2 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.009793, allocations: 11.98 kB / 356.2 MB, free: 8.379 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 9.009e-05/0.009884, allocations: 160.6 kB / 356.4 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.009915, allocations: 23.84 kB / 356.4 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.01011, allocations: 125.6 kB / 356.5 MB, free: 8.062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01012, allocations: 4 kB / 356.5 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.01012, allocations: 7.984 kB / 356.5 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.01014, allocations: 19.84 kB / 356.6 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.01017, allocations: 0 / 356.6 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.01026, allocations: 19.98 kB / 356.6 MB, free: 8.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.0103, allocations: 15.97 kB / 356.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003413/0.01064, allocations: 252.7 kB / 356.8 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003026/0.01094, allocations: 416.6 kB / 357.2 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.643e-05/0.01101, allocations: 47.58 kB / 357.3 MB, free: 7.266 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.865e-05/0.01107, allocations: 167 kB / 357.5 MB, free: 7.102 MB / 282.7 MB Notification: Performance of Backend: time 2.5e-07/0.01108, allocations: 0 / 357.5 MB, free: 7.102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003873/0.01146, allocations: 225.8 kB / 357.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of SimCode: time 0.001445/0.01291, allocations: 1.206 MB / 358.9 MB, free: 5.594 MB / 282.7 MB Notification: Performance of Templates: time 0.005577/0.01848, allocations: 3.319 MB / 362.2 MB, free: 2.344 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.sim & ./Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.480509792920202]