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.05697/0.05697, allocations: 11.16 MB / 30.72 MB, free: 4.488 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.0008861/0.0008861, allocations: 99.86 kB / 38.41 MB, free: 7.008 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.0009675/0.0009675, allocations: 160.5 kB / 46.17 MB, free: 10.34 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.9612/0.9612, allocations: 177.1 MB / 231 MB, free: 2.086 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.1816/0.1816, allocations: 17.61 MB / 309.5 MB, free: 1.902 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_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.423e-06/1.423e-06, allocations: 0 / 391.2 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.706e-05, allocations: 2.312 kB / 391.2 MB, free: 4.68 MB / 346.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.2533/0.2533, allocations: 67.24 MB / 458.5 MB, free: 46.63 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.004168/0.2575, allocations: 4.516 MB / 463 MB, free: 46.33 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.2578, allocations: 19.53 kB / 463 MB, free: 46.32 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.2582, allocations: 213.3 kB / 463.2 MB, free: 46.25 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.262, allocations: 2.563 MB / 465.8 MB, free: 45.52 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.2654, allocations: 2.153 MB / 467.9 MB, free: 44.82 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.00086/0.2663, allocations: 1.367 MB / 469.3 MB, free: 44.5 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003691/0.2667, allocations: 382.4 kB / 469.7 MB, free: 44.46 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.2683, allocations: 1.328 MB / 471 MB, free: 44.2 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000441/0.2688, allocations: 0.4928 MB / 471.5 MB, free: 44.14 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 5.783e-05/0.2688, allocations: 55.53 kB / 471.6 MB, free: 44.14 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.271, allocations: 1.626 MB / 473.2 MB, free: 43.96 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.2711, allocations: 172 kB / 473.4 MB, free: 43.93 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.2713, allocations: 249.6 kB / 473.6 MB, free: 43.91 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002282/0.2736, allocations: 2.26 MB / 475.9 MB, free: 43.5 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2736, allocations: 3.375 kB / 475.9 MB, free: 43.5 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2736, allocations: 1.156 kB / 475.9 MB, free: 43.5 MB / 394.8 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2736, allocations: 0 / 475.9 MB, free: 43.5 MB / 394.8 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.001244/0.2749, allocations: 1.15 MB / 477 MB, free: 42.79 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2749, allocations: 10.09 kB / 477 MB, free: 42.79 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.275, allocations: 96.31 kB / 477.1 MB, free: 42.75 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.2754, allocations: 372.1 kB / 477.5 MB, free: 42.55 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.2755, allocations: 35.25 kB / 477.5 MB, free: 42.55 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/0.2755, allocations: 40.78 kB / 477.5 MB, free: 42.55 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.2761, allocations: 465.5 kB / 478 MB, free: 42.41 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.2761, allocations: 3.984 kB / 478 MB, free: 42.41 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.2761, allocations: 21.53 kB / 478 MB, free: 42.41 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.2761, allocations: 10.88 kB / 478 MB, free: 42.41 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.2766, allocations: 287.4 kB / 478.3 MB, free: 42.39 MB / 394.8 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.001606/0.2782, allocations: 1.662 MB / 480 MB, free: 41.52 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.2786, allocations: 279.2 kB / 480.3 MB, free: 41.46 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.2788, allocations: 153.8 kB / 480.4 MB, free: 41.45 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007079/0.2795, allocations: 0.7202 MB / 481.1 MB, free: 41.09 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.2797, allocations: 211 kB / 481.3 MB, free: 40.99 MB / 394.8 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001183/0.2799, allocations: 58.25 kB / 481.4 MB, free: 40.97 MB / 394.8 MB Notification: Performance of pre-optimization done (n=41): time 1.874e-06/0.2799, allocations: 3.984 kB / 481.4 MB, free: 40.96 MB / 394.8 MB Notification: Performance of matching and sorting (n=41): time 0.0008358/0.2807, allocations: 456.4 kB / 481.8 MB, free: 40.88 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.2807, allocations: 55.86 kB / 481.9 MB, free: 40.81 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.2809, allocations: 388.3 kB / 482.3 MB, free: 40.63 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.281, allocations: 35.52 kB / 482.3 MB, free: 40.6 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.908e-05/0.2811, allocations: 303.2 kB / 482.6 MB, free: 40.4 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.2811, allocations: 151.7 kB / 482.8 MB, free: 40.31 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2812, allocations: 102.6 kB / 482.9 MB, free: 40.28 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.2813, allocations: 0.5277 MB / 483.4 MB, free: 39.79 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.2815, allocations: 83.78 kB / 483.5 MB, free: 39.79 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.2816, allocations: 214.1 kB / 483.7 MB, free: 39.64 MB / 394.8 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.000725/0.2824, allocations: 0.5207 MB / 484.2 MB, free: 39.48 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2824, allocations: 1.188 kB / 484.2 MB, free: 39.48 MB / 394.8 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005816/0.2829, allocations: 434.2 kB / 484.6 MB, free: 39.38 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.283, allocations: 10.28 kB / 484.6 MB, free: 39.37 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.283, allocations: 2.688 kB / 484.6 MB, free: 39.37 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.2832, allocations: 68.88 kB / 484.7 MB, free: 39.34 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.2834, allocations: 95.2 kB / 484.8 MB, free: 39.34 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003718/0.2838, allocations: 1.609 MB / 486.4 MB, free: 37.74 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.284, allocations: 21.52 kB / 486.4 MB, free: 37.73 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.284, allocations: 22.69 kB / 486.4 MB, free: 37.73 MB / 394.8 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.0001164/0.2841, allocations: 184.3 kB / 486.6 MB, free: 37.57 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.2842, allocations: 52.52 kB / 486.7 MB, free: 37.55 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005752/0.2848, allocations: 442.7 kB / 487.1 MB, free: 37.4 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.2848, allocations: 7.969 kB / 487.1 MB, free: 37.4 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2848, allocations: 0 / 487.1 MB, free: 37.4 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2848, allocations: 4.562 kB / 487.1 MB, free: 37.4 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008871/0.2857, allocations: 0.8565 MB / 488 MB, free: 36.89 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.2857, allocations: 11.97 kB / 488 MB, free: 36.88 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.2858, allocations: 59.27 kB / 488 MB, free: 36.88 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.286, allocations: 66.86 kB / 488.1 MB, free: 36.84 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.286, allocations: 12.31 kB / 488.1 MB, free: 36.83 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003125/0.2863, allocations: 1.601 MB / 489.7 MB, free: 35.22 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2863, allocations: 8.5 kB / 489.7 MB, free: 35.22 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/0.2869, allocations: 0.5924 MB / 490.3 MB, free: 34.89 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.287, allocations: 78 kB / 490.4 MB, free: 34.85 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.2871, allocations: 13.78 kB / 490.4 MB, free: 34.84 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2872, allocations: 11.09 kB / 490.4 MB, free: 34.84 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.2873, allocations: 41.81 kB / 490.5 MB, free: 34.83 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.2873, allocations: 25.14 kB / 490.5 MB, free: 34.82 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0001537/0.2875, allocations: 267.7 kB / 490.7 MB, free: 34.66 MB / 394.8 MB Notification: Performance of sort global known variables: time 6e-08/0.2875, allocations: 0 / 490.7 MB, free: 34.66 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.001023/0.2885, allocations: 0.5792 MB / 491.3 MB, free: 34.48 MB / 394.8 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.001047/0.2895, allocations: 0.9299 MB / 492.3 MB, free: 34.2 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0004854/0.29, allocations: 311.4 kB / 492.6 MB, free: 34.12 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.29, allocations: 0 / 492.6 MB, free: 34.12 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.2902, allocations: 165.6 kB / 492.7 MB, free: 34.09 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.2908, allocations: 234.1 kB / 493 MB, free: 34 MB / 394.8 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.002157/0.293, allocations: 1.019 MB / 494 MB, free: 33.42 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.642e-05/0.293, allocations: 128.6 kB / 494.1 MB, free: 33.34 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.2932, allocations: 104.2 kB / 494.2 MB, free: 33.31 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.814e-05/0.2933, allocations: 55.56 kB / 494.3 MB, free: 33.29 MB / 394.8 MB Notification: Performance of SimCode: time 7.01e-07/0.2933, allocations: 0 / 494.3 MB, free: 33.29 MB / 394.8 MB Notification: Performance of Templates: time 0.01725/0.3106, allocations: 19.43 MB / 0.5016 GB, free: 29.69 MB / 394.8 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.6625629058107734]