Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.08652/0.08652, allocations: 11.16 MB / 30.51 MB, free: 4.918 MB / 24.77 MB " [Timeout remaining time 180] 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.001337/0.001337, allocations: 91.5 kB / 38.14 MB, free: 7.199 MB / 33.03 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.001514/0.001514, allocations: 156.5 kB / 45.85 MB, free: 10.6 MB / 44.04 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 1.429/1.429, allocations: 177.1 MB / 230.6 MB, free: 4.781 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1454/0.1454, allocations: 17.63 MB / 309.1 MB, free: 8.789 MB / 282.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 390.4 MB, free: 46.55 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.114e-05, allocations: 6.312 kB / 390.4 MB, free: 46.55 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Windkessel_3element): time 0.06722/0.06724, allocations: 70.06 MB / 460.5 MB, free: 8.652 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02475/0.09198, allocations: 16.81 MB / 477.3 MB, free: 7.777 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006806/0.09266, allocations: 27.81 kB / 477.3 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007904/0.09345, allocations: 242.2 kB / 477.5 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006837/0.1003, allocations: 2.444 MB / 480 MB, free: 5.051 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004562/0.1049, allocations: 1.693 MB / 481.7 MB, free: 3.348 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.1065, allocations: 1.195 MB / 482.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004804/0.1069, allocations: 304 kB / 483.2 MB, free: 1.848 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.1095, allocations: 1.229 MB / 484.4 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006674/0.1102, allocations: 406.8 kB / 484.8 MB, free: 220 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.84e-05/0.1102, allocations: 44 kB / 484.8 MB, free: 176 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003687/0.1139, allocations: 1.512 MB / 486.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.1141, allocations: 147.5 kB / 486.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004955/0.1146, allocations: 203.6 kB / 486.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003833/0.1184, allocations: 2.234 MB / 488.9 MB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1184, allocations: 0 / 488.9 MB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1185, allocations: 4 kB / 488.9 MB, free: 12.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1185, allocations: 0 / 488.9 MB, free: 12.07 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.00197/0.1204, allocations: 0.9754 MB / 489.9 MB, free: 11.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1205, allocations: 8.031 kB / 489.9 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.1206, allocations: 79.67 kB / 490 MB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.1213, allocations: 356.8 kB / 490.3 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/0.1213, allocations: 33 kB / 490.4 MB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.893e-05/0.1214, allocations: 40 kB / 490.4 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009232/0.1223, allocations: 478.3 kB / 490.9 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1224, allocations: 0 / 490.9 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/0.1224, allocations: 16 kB / 490.9 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.1224, allocations: 8 kB / 490.9 MB, free: 10 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.1233, allocations: 383.7 kB / 491.3 MB, free: 9.629 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.126, allocations: 1.358 MB / 492.6 MB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.1267, allocations: 334.9 kB / 493 MB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.1271, allocations: 172.7 kB / 493.1 MB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.1283, allocations: 0.6178 MB / 493.8 MB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006848/0.129, allocations: 231 kB / 494 MB, free: 6.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.129, allocations: 0 / 494 MB, free: 6.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.001673/0.1307, allocations: 0.5813 MB / 494.6 MB, free: 6.246 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.1307, allocations: 63.39 kB / 494.6 MB, free: 6.172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.1312, allocations: 365.5 kB / 495 MB, free: 5.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.1313, allocations: 33.7 kB / 495 MB, free: 5.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.1315, allocations: 236.6 kB / 495.2 MB, free: 5.531 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.1316, allocations: 127 kB / 495.4 MB, free: 5.406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.1318, allocations: 86.12 kB / 495.5 MB, free: 5.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.132, allocations: 354.8 kB / 495.8 MB, free: 4.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.1324, allocations: 144.9 kB / 495.9 MB, free: 4.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.1328, allocations: 241.8 kB / 496.2 MB, free: 4.551 MB / 394.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: arteries.mass = arteries.tm_start (arteries.m_start[1] + arteries.massOffset = arteries.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.1353, allocations: 0.88 MB / 497.1 MB, free: 3.637 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1353, allocations: 0 / 497.1 MB, free: 3.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001219/0.1366, allocations: 0.5385 MB / 497.6 MB, free: 3.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1366, allocations: 8 kB / 497.6 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1366, allocations: 3.938 kB / 497.6 MB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.1369, allocations: 77.98 kB / 497.7 MB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.1372, allocations: 79.83 kB / 497.8 MB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.1383, allocations: 1.128 MB / 498.9 MB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.1386, allocations: 47.66 kB / 498.9 MB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.1387, allocations: 23.98 kB / 499 MB, free: 1.664 MB / 394.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: arteries.mass = arteries.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.pulses.TD2,$PRE.pulses.HP,$PRE.pulses.T0,pulses.TD2,pulses.HP,pulses.b,pulses.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002484/0.1389, allocations: 161.9 kB / 499.1 MB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1391, allocations: 51.77 kB / 499.2 MB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.1402, allocations: 481.8 kB / 499.6 MB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1402, allocations: 0 / 499.6 MB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1402, allocations: 7.984 kB / 499.6 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.1402, allocations: 7.969 kB / 499.7 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.1419, allocations: 0.849 MB / 0.4888 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1419, allocations: 0 / 0.4888 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.1422, allocations: 47.91 kB / 0.4888 GB, free: 0 / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002231/0.1424, allocations: 69.67 kB / 0.4889 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.1424, allocations: 15.92 kB / 0.4889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.1437, allocations: 1.116 MB / 0.49 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1437, allocations: 0 / 0.49 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.1451, allocations: 0.6951 MB / 0.4907 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.1452, allocations: 75.64 kB / 0.4907 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.1453, allocations: 8.219 kB / 0.4907 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.1456, allocations: 19.98 kB / 0.4908 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.1457, allocations: 31.94 kB / 0.4908 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.1457, allocations: 8 kB / 0.4908 GB, free: 13.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003339/0.146, allocations: 263.2 kB / 0.4911 GB, free: 13.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.146, allocations: 0 / 0.4911 GB, free: 13.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001416/0.1475, allocations: 0.5294 MB / 0.4916 GB, free: 13.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (arteries.enthalpy,arteries.substanceMasses[1]) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001683/0.1491, allocations: 0.8717 MB / 0.4924 GB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009718/0.1501, allocations: 364.1 kB / 0.4928 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1501, allocations: 0 / 0.4928 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.1506, allocations: 179.7 kB / 0.4929 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009909/0.1516, allocations: 196.7 kB / 0.4931 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.1534, allocations: 0.8481 MB / 0.494 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1536, allocations: 220.3 kB / 0.4942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002877/0.1539, allocations: 87.17 kB / 0.4943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.154, allocations: 44.48 kB / 0.4943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.154, allocations: 0 / 0.4943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of Templates: time 0.03149/0.1855, allocations: 17.8 MB / 0.5117 GB, free: 8.609 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.477168962010182]