Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.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.1052/0.1052, allocations: 11.15 MB / 30.5 MB, free: 6.344 MB / 26.18 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.001589/0.001589, allocations: 99.53 kB / 38.14 MB, free: 7.75 MB / 34.91 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.001799/0.001799, allocations: 168.5 kB / 45.85 MB, free: 32 kB / 34.91 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.387/1.387, allocations: 177.2 MB / 230.6 MB, free: 8.258 MB / 206.1 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.1477/0.1477, allocations: 17.64 MB / 309.1 MB, free: 12.67 MB / 286.1 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_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 390.4 MB, free: 49.74 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.66e-05, allocations: 9.266 kB / 390.4 MB, free: 49.73 MB / 334.1 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_4element): time 0.07554/0.07557, allocations: 75.55 MB / 466 MB, free: 7.113 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02725/0.1028, allocations: 19.79 MB / 485.7 MB, free: 3.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009229/0.1037, allocations: 23.81 kB / 485.8 MB, free: 3.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009791/0.1047, allocations: 278 kB / 486 MB, free: 2.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00849/0.1132, allocations: 2.557 MB / 488.6 MB, free: 388 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007157/0.1204, allocations: 2.178 MB / 490.8 MB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002248/0.1226, allocations: 1.363 MB / 492.1 MB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006235/0.1232, allocations: 381.5 kB / 492.5 MB, free: 12.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.126, allocations: 1.334 MB / 493.8 MB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009533/0.127, allocations: 498.6 kB / 494.3 MB, free: 10.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.351e-05/0.1271, allocations: 56 kB / 494.4 MB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00408/0.1311, allocations: 1.617 MB / 496 MB, free: 8.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.1313, allocations: 175.4 kB / 496.2 MB, free: 8.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.1317, allocations: 247.5 kB / 496.4 MB, free: 8.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005278/0.137, allocations: 2.46 MB / 498.9 MB, free: 6.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.137, allocations: 0 / 498.9 MB, free: 6.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.137, allocations: 3.938 kB / 498.9 MB, free: 6.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.137, allocations: 0 / 498.9 MB, free: 6.055 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002279/0.1393, allocations: 1.041 MB / 499.9 MB, free: 4.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1393, allocations: 19.92 kB / 499.9 MB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.1395, allocations: 99.61 kB / 0.4883 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007018/0.1403, allocations: 388.7 kB / 0.4887 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.1403, allocations: 37 kB / 0.4887 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.13e-05/0.1404, allocations: 44 kB / 0.4888 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.1415, allocations: 0.5569 MB / 0.4893 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.1415, allocations: 0 / 0.4893 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.1415, allocations: 20 kB / 0.4893 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.1415, allocations: 15.98 kB / 0.4893 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.1426, allocations: 0.4996 MB / 0.4898 GB, free: 3.254 MB / 398.1 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.003061/0.1457, allocations: 1.548 MB / 0.4913 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000836/0.1465, allocations: 383.3 kB / 0.4917 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005494/0.1471, allocations: 244.7 kB / 0.4919 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/0.1485, allocations: 0.734 MB / 0.4927 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005836/0.1491, allocations: 282.6 kB / 0.4929 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002494/0.1494, allocations: 39.78 kB / 0.493 GB, free: 15.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.445e-06/0.1494, allocations: 4 kB / 0.493 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=41): time 0.001867/0.1512, allocations: 0.676 MB / 0.4936 GB, free: 15.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.1513, allocations: 59.73 kB / 0.4937 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.1518, allocations: 365.6 kB / 0.494 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.1518, allocations: 37.7 kB / 0.4941 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.152, allocations: 252.5 kB / 0.4943 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.1522, allocations: 150.7 kB / 0.4945 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.1524, allocations: 94.12 kB / 0.4945 GB, free: 14.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1526, allocations: 358.8 kB / 0.4949 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.153, allocations: 172.9 kB / 0.4951 GB, free: 13.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.1535, allocations: 282.8 kB / 0.4953 GB, free: 13.44 MB / 414.1 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.004698/0.1582, allocations: 1.246 MB / 0.4965 GB, free: 12.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.1582, allocations: 0 / 0.4965 GB, free: 12.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001428/0.1596, allocations: 0.6196 MB / 0.4971 GB, free: 11.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1596, allocations: 8 kB / 0.4972 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.1596, allocations: 7.938 kB / 0.4972 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002792/0.1599, allocations: 77.98 kB / 0.4972 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/0.1604, allocations: 99.88 kB / 0.4973 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009683/0.1614, allocations: 1.124 MB / 0.4984 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.1618, allocations: 19.98 kB / 0.4985 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.269e-05/0.1619, allocations: 23.98 kB / 0.4985 GB, free: 10.11 MB / 414.1 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 (55): * Single equations (assignments): 51 * 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.0003138/0.1622, allocations: 178 kB / 0.4986 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.1623, allocations: 59.7 kB / 0.4987 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.1637, allocations: 0.5857 MB / 0.4993 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.1637, allocations: 8 kB / 0.4993 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1637, allocations: 0 / 0.4993 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1637, allocations: 0 / 0.4993 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.1656, allocations: 0.9939 MB / 0.5003 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1656, allocations: 0 / 0.5003 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.166, allocations: 67.89 kB / 0.5003 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002164/0.1662, allocations: 73.7 kB / 0.5004 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.1662, allocations: 12 kB / 0.5004 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008485/0.1671, allocations: 1.124 MB / 0.5015 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1671, allocations: 0 / 0.5015 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.1687, allocations: 0.8307 MB / 0.5023 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.1689, allocations: 79.7 kB / 0.5024 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.169, allocations: 12 kB / 0.5024 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.1693, allocations: 15.98 kB / 0.5024 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.1694, allocations: 35.92 kB / 0.5024 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.1694, allocations: 12 kB / 0.5025 GB, free: 5.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003157/0.1698, allocations: 263.2 kB / 0.5027 GB, free: 5.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1698, allocations: 3.938 kB / 0.5027 GB, free: 5.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001673/0.1714, allocations: 0.5839 MB / 0.5033 GB, free: 5.039 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (arteries.enthalpy,arteries.substanceMasses[1],inertia.q_in.m_flow) * 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 (38): * Single equations (assignments): 32 * 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.001871/0.1733, allocations: 0.9276 MB / 0.5042 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.1744, allocations: 444.7 kB / 0.5046 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1744, allocations: 3.938 kB / 0.5046 GB, free: 3.656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005146/0.175, allocations: 221.1 kB / 0.5048 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.176, allocations: 219.1 kB / 0.505 GB, free: 3.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1781, allocations: 0.9955 MB / 0.506 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1784, allocations: 244.4 kB / 0.5062 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000354/0.1787, allocations: 108 kB / 0.5063 GB, free: 1.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.1789, allocations: 52.47 kB / 0.5064 GB, free: 1.797 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1789, allocations: 0 / 0.5064 GB, free: 1.797 MB / 414.1 MB Notification: Performance of Templates: time 0.1687/0.3476, allocations: 19.32 MB / 0.5253 GB, free: 142.7 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.761715907603502]