Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.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.05481/0.05481, allocations: 11.15 MB / 31.01 MB, free: 4.762 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.0009092/0.0009092, allocations: 90.36 kB / 38.74 MB, free: 6.84 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.0009531/0.0009531, allocations: 166.3 kB / 42.15 MB, free: 3.508 MB / 33.03 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.9757/0.9757, allocations: 177.2 MB / 222.6 MB, free: 6.297 MB / 202.7 MB " [Timeout remaining time 179] 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.2088/0.2088, allocations: 17.61 MB / 296.7 MB, free: 1.219 MB / 266.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_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 320.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.274e-05, allocations: 7.297 kB / 320.9 MB, free: 14.19 MB / 298.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_2element): time 0.04711/0.04713, allocations: 66.22 MB / 387.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003712/0.05084, allocations: 3.703 MB / 390.8 MB, free: 8.309 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/0.05112, allocations: 23.81 kB / 390.8 MB, free: 8.285 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.05154, allocations: 158.7 kB / 391 MB, free: 8.129 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.05554, allocations: 2.351 MB / 393.3 MB, free: 5.762 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.05752, allocations: 1.192 MB / 394.5 MB, free: 4.562 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007414/0.05826, allocations: 1.086 MB / 395.6 MB, free: 3.473 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.05853, allocations: 275 kB / 395.9 MB, free: 3.195 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.06006, allocations: 1.174 MB / 397.1 MB, free: 2.016 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.06043, allocations: 354.9 kB / 397.4 MB, free: 1.668 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.06047, allocations: 40 kB / 397.4 MB, free: 1.629 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.06226, allocations: 1.403 MB / 398.8 MB, free: 228 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.06237, allocations: 127.5 kB / 399 MB, free: 100 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.06252, allocations: 187.6 kB / 399.1 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.06444, allocations: 1.934 MB / 401.1 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.06444, allocations: 0 / 401.1 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.06444, allocations: 0 / 401.1 MB, free: 13.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.06445, allocations: 0 / 401.1 MB, free: 13.97 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001001/0.06545, allocations: 0.884 MB / 402 MB, free: 13.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.06548, allocations: 8.031 kB / 402 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.06555, allocations: 55.95 kB / 402 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.06587, allocations: 291.8 kB / 402.3 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.06589, allocations: 24.66 kB / 402.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.06593, allocations: 39.94 kB / 402.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.06624, allocations: 332.7 kB / 402.7 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.06625, allocations: 3.953 kB / 402.7 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.06628, allocations: 16 kB / 402.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.06629, allocations: 8 kB / 402.7 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.06646, allocations: 129.9 kB / 402.9 MB, free: 12.11 MB / 378.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.001154/0.06761, allocations: 1.079 MB / 403.9 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.06783, allocations: 225.6 kB / 404.2 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.938e-05/0.06789, allocations: 56.83 kB / 404.2 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005073/0.0684, allocations: 0.5088 MB / 404.7 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.06859, allocations: 144.3 kB / 404.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.333e-06/0.06859, allocations: 0 / 404.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003393/0.06893, allocations: 219 kB / 405.1 MB, free: 9.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.06896, allocations: 55.41 kB / 405.1 MB, free: 9.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.06914, allocations: 316.5 kB / 405.4 MB, free: 9.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.06915, allocations: 29.7 kB / 405.5 MB, free: 9.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.06924, allocations: 204.9 kB / 405.7 MB, free: 9.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.06929, allocations: 111 kB / 405.8 MB, free: 9.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/0.06937, allocations: 82.09 kB / 405.9 MB, free: 8.973 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.06945, allocations: 350.7 kB / 406.2 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.063e-05/0.06954, allocations: 55.8 kB / 406.3 MB, free: 8.566 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.06966, allocations: 146.4 kB / 406.4 MB, free: 8.387 MB / 378.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.0005684/0.07023, allocations: 371 kB / 406.8 MB, free: 7.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.07023, allocations: 0 / 406.8 MB, free: 7.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000305/0.07054, allocations: 267.1 kB / 407 MB, free: 7.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.07055, allocations: 6.344 kB / 407 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.07056, allocations: 4 kB / 407 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.951e-05/0.07063, allocations: 20.84 kB / 407 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.07081, allocations: 84.14 kB / 407.1 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000194/0.071, allocations: 0.5249 MB / 407.7 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.07113, allocations: 43.72 kB / 407.7 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.07115, allocations: 12 kB / 407.7 MB, free: 7 MB / 378.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 (47): * 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: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.07126, allocations: 144.5 kB / 407.9 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.07129, allocations: 31.97 kB / 407.9 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.07157, allocations: 259.3 kB / 408.1 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.07158, allocations: 7.984 kB / 408.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.07158, allocations: 0 / 408.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.07158, allocations: 0 / 408.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.07204, allocations: 0.4923 MB / 408.6 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.07204, allocations: 0 / 408.6 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.07216, allocations: 51.91 kB / 408.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.072e-05/0.07221, allocations: 24.88 kB / 408.7 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.07223, allocations: 7.984 kB / 408.7 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001646/0.07239, allocations: 0.5211 MB / 409.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.07239, allocations: 0 / 409.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.07267, allocations: 367.5 kB / 409.6 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.07274, allocations: 47.67 kB / 409.6 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.07277, allocations: 12.09 kB / 409.7 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.07288, allocations: 19.92 kB / 409.7 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.07292, allocations: 15.97 kB / 409.7 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.07294, allocations: 15.98 kB / 409.7 MB, free: 4.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.088e-05/0.07303, allocations: 127.5 kB / 409.8 MB, free: 4.758 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07303, allocations: 0 / 409.8 MB, free: 4.758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008511/0.07388, allocations: 0.4944 MB / 410.3 MB, free: 4.262 MB / 378.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 (28): * 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: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008583/0.07474, allocations: 0.8441 MB / 411.2 MB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.07501, allocations: 182.7 kB / 411.3 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.07502, allocations: 4 kB / 411.4 MB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.07512, allocations: 90.77 kB / 411.4 MB, free: 3.129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.07553, allocations: 181 kB / 411.6 MB, free: 2.949 MB / 378.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.07712, allocations: 0.8246 MB / 412.4 MB, free: 2.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.023e-05/0.07718, allocations: 105.3 kB / 412.5 MB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.07732, allocations: 63.23 kB / 412.6 MB, free: 1.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.07756, allocations: 177.2 kB / 412.8 MB, free: 1.734 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.07756, allocations: 0 / 412.8 MB, free: 1.734 MB / 378.7 MB Notification: Performance of Templates: time 0.01831/0.09587, allocations: 19.29 MB / 432.1 MB, free: 14.57 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.294090655166656]