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.08501/0.08501, allocations: 11.14 MB / 31.73 MB, free: 4.305 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.001417/0.001417, allocations: 98.48 kB / 39.44 MB, free: 6.75 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.001715/0.001715, allocations: 152.6 kB / 47.23 MB, free: 10.05 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 0.9178/0.9178, allocations: 177.1 MB / 232.1 MB, free: 1.738 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.0941/0.0941, allocations: 17.63 MB / 310.7 MB, free: 14.42 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_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.523e-06/1.523e-06, allocations: 0 / 392.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.961e-05, allocations: 2.312 kB / 392.5 MB, free: 12.46 MB / 362.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_4element): time 0.1729/0.1729, allocations: 66.54 MB / 459.1 MB, free: 61.7 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004134/0.177, allocations: 4.425 MB / 463.5 MB, free: 61.32 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003975/0.1774, allocations: 21.72 kB / 463.5 MB, free: 61.3 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005013/0.1779, allocations: 215.9 kB / 463.7 MB, free: 61.23 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.1822, allocations: 2.56 MB / 466.3 MB, free: 60.51 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.1857, allocations: 2.16 MB / 468.4 MB, free: 59.81 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009604/0.1867, allocations: 1.358 MB / 469.8 MB, free: 59.48 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003902/0.187, allocations: 395.9 kB / 470.2 MB, free: 59.45 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.189, allocations: 1.325 MB / 471.5 MB, free: 59.18 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005725/0.1896, allocations: 0.4899 MB / 472 MB, free: 59.13 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.735e-05/0.1896, allocations: 56.44 kB / 472.1 MB, free: 59.13 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.1923, allocations: 1.628 MB / 473.7 MB, free: 58.95 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1924, allocations: 175.2 kB / 473.9 MB, free: 58.92 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.1926, allocations: 246.7 kB / 474.1 MB, free: 58.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.1959, allocations: 2.259 MB / 476.4 MB, free: 58.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1959, allocations: 0 / 476.4 MB, free: 58.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1959, allocations: 0 / 476.4 MB, free: 58.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.1959, allocations: 0 / 476.4 MB, free: 58.49 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0017/0.1976, allocations: 1.154 MB / 477.5 MB, free: 57.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1977, allocations: 8.938 kB / 477.5 MB, free: 57.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.1978, allocations: 90.47 kB / 477.6 MB, free: 57.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.1982, allocations: 377.6 kB / 478 MB, free: 57.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.1982, allocations: 37.8 kB / 478 MB, free: 57.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.1983, allocations: 42.03 kB / 478 MB, free: 57.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.1987, allocations: 426.1 kB / 478.5 MB, free: 57.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1988, allocations: 0.75 kB / 478.5 MB, free: 57.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.1988, allocations: 23.69 kB / 478.5 MB, free: 57.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1988, allocations: 13.94 kB / 478.5 MB, free: 57.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.1991, allocations: 238 kB / 478.7 MB, free: 57.37 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.00161/0.2007, allocations: 1.667 MB / 480.4 MB, free: 56.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.201, allocations: 254.7 kB / 480.7 MB, free: 56.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.2012, allocations: 132.9 kB / 480.8 MB, free: 56.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000724/0.2019, allocations: 0.7189 MB / 481.5 MB, free: 56.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.2021, allocations: 200.2 kB / 481.7 MB, free: 55.93 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001142/0.2022, allocations: 51.64 kB / 481.7 MB, free: 55.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 2.093e-06/0.2022, allocations: 0 / 481.7 MB, free: 55.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.0006618/0.2029, allocations: 407.5 kB / 482.1 MB, free: 55.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.2029, allocations: 59.8 kB / 482.2 MB, free: 55.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.2031, allocations: 386.6 kB / 482.6 MB, free: 55.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.2031, allocations: 34.45 kB / 482.6 MB, free: 55.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2032, allocations: 304.6 kB / 482.9 MB, free: 54.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/0.2033, allocations: 150 kB / 483.1 MB, free: 54.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.2034, allocations: 106.7 kB / 483.2 MB, free: 54.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.2035, allocations: 0.5325 MB / 483.7 MB, free: 54.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.2036, allocations: 70.88 kB / 483.8 MB, free: 54.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.2038, allocations: 207.8 kB / 484 MB, free: 54.02 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.0005764/0.2043, allocations: 495.5 kB / 484.4 MB, free: 53.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2043, allocations: 0 / 484.4 MB, free: 53.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004732/0.2048, allocations: 415.7 kB / 484.9 MB, free: 53.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2048, allocations: 4 kB / 484.9 MB, free: 53.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2048, allocations: 4 kB / 484.9 MB, free: 53.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/0.205, allocations: 72.06 kB / 484.9 MB, free: 53.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.2052, allocations: 99.09 kB / 485 MB, free: 53.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003286/0.2055, allocations: 1.598 MB / 486.6 MB, free: 51.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.2057, allocations: 23.53 kB / 486.7 MB, free: 51.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.2057, allocations: 19.88 kB / 486.7 MB, free: 51.48 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 (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.0001117/0.2058, allocations: 191 kB / 486.9 MB, free: 51.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.2059, allocations: 57.34 kB / 486.9 MB, free: 51.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004925/0.2064, allocations: 415 kB / 487.3 MB, free: 50.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2064, allocations: 11.94 kB / 487.3 MB, free: 50.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.2064, allocations: 4.516 kB / 487.3 MB, free: 50.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.2064, allocations: 1.969 kB / 487.3 MB, free: 50.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007144/0.2071, allocations: 0.7629 MB / 488.1 MB, free: 50.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2071, allocations: 7.938 kB / 488.1 MB, free: 50.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.2073, allocations: 60.67 kB / 488.2 MB, free: 50.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.2074, allocations: 59.08 kB / 488.2 MB, free: 50.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.2074, allocations: 17.38 kB / 488.2 MB, free: 50.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002602/0.2077, allocations: 1.594 MB / 489.8 MB, free: 48.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2077, allocations: 7.938 kB / 489.8 MB, free: 48.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.2082, allocations: 0.5478 MB / 490.4 MB, free: 48.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.2083, allocations: 77.02 kB / 490.5 MB, free: 48.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.2083, allocations: 8.469 kB / 490.5 MB, free: 48.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.2085, allocations: 17.61 kB / 490.5 MB, free: 48.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.2085, allocations: 37.75 kB / 490.5 MB, free: 48.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.2085, allocations: 13.48 kB / 490.5 MB, free: 48.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.2087, allocations: 253.2 kB / 490.8 MB, free: 47.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2087, allocations: 0 / 490.8 MB, free: 47.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001157/0.2098, allocations: 0.5818 MB / 491.4 MB, free: 47.38 MB / 394.7 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.001059/0.2109, allocations: 0.9678 MB / 492.3 MB, free: 46.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004074/0.2113, allocations: 282.7 kB / 492.6 MB, free: 46.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2113, allocations: 0 / 492.6 MB, free: 46.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.2114, allocations: 149.4 kB / 492.8 MB, free: 46.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.212, allocations: 224.8 kB / 493 MB, free: 46.15 MB / 394.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.001905/0.2139, allocations: 1.019 MB / 494 MB, free: 45.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.25e-05/0.214, allocations: 127.3 kB / 494.1 MB, free: 45.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002138/0.2142, allocations: 89.03 kB / 494.2 MB, free: 45.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.2145, allocations: 239 kB / 494.4 MB, free: 44.88 MB / 394.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2145, allocations: 4 kB / 494.4 MB, free: 44.88 MB / 394.7 MB Notification: Performance of Templates: time 0.019/0.2335, allocations: 22.87 MB / 0.5052 GB, free: 24.5 MB / 394.7 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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.65578378085047]