Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.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.05003/0.05003, allocations: 11.16 MB / 30.72 MB, free: 4.473 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.001237/0.001237, allocations: 102.8 kB / 38.4 MB, free: 7.016 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.0009449/0.0009449, allocations: 164.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.9048/0.9048, allocations: 177.1 MB / 231 MB, free: 1.961 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.1843/0.1843, allocations: 17.62 MB / 309.5 MB, free: 1.949 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.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation") translateModel(Physiolibrary.Fluid.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 391.2 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.735e-05, allocations: 2.312 kB / 391.2 MB, free: 4.688 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:596:7-596: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:596:7-596: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.MinimalCirculation): time 0.2621/0.2622, allocations: 62.17 MB / 453.4 MB, free: 46.55 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.006639/0.2688, allocations: 6.571 MB / 460 MB, free: 46.45 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.2691, allocations: 27.81 kB / 460 MB, free: 46.45 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.2697, allocations: 205.6 kB / 460.2 MB, free: 46.44 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002853/0.2725, allocations: 1.633 MB / 461.8 MB, free: 46.2 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003924/0.2764, allocations: 2.258 MB / 464.1 MB, free: 45.74 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0009556/0.2774, allocations: 1.52 MB / 465.6 MB, free: 45.39 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003691/0.2778, allocations: 357 kB / 466 MB, free: 45.38 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.2796, allocations: 1.358 MB / 467.3 MB, free: 45.1 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004963/0.2801, allocations: 0.5025 MB / 467.8 MB, free: 45.05 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 6.947e-05/0.2802, allocations: 54.31 kB / 467.9 MB, free: 45.05 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.2819, allocations: 1.301 MB / 469.2 MB, free: 44.91 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.282, allocations: 185.1 kB / 469.4 MB, free: 44.88 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.2823, allocations: 249.9 kB / 469.6 MB, free: 44.85 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.2841, allocations: 1.93 MB / 471.5 MB, free: 44.5 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2841, allocations: 0 / 471.5 MB, free: 44.5 MB / 394.8 MB Notification: Performance of FrontEnd: time 8.32e-07/0.2841, allocations: 4 kB / 471.5 MB, free: 44.5 MB / 394.8 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.2841, allocations: 0 / 471.5 MB, free: 44.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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001276/0.2854, allocations: 1.176 MB / 472.7 MB, free: 43.76 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2854, allocations: 9.656 kB / 472.7 MB, free: 43.76 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.2855, allocations: 97.97 kB / 472.8 MB, free: 43.73 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.286, allocations: 424.9 kB / 473.2 MB, free: 43.52 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.2861, allocations: 31.53 kB / 473.3 MB, free: 43.52 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.2861, allocations: 47.56 kB / 473.3 MB, free: 43.52 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00061/0.2867, allocations: 0.4967 MB / 473.8 MB, free: 43.3 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.2868, allocations: 2.719 kB / 473.8 MB, free: 43.3 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.2868, allocations: 21.28 kB / 473.8 MB, free: 43.3 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.2868, allocations: 11.75 kB / 473.8 MB, free: 43.3 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.2873, allocations: 242.8 kB / 474.1 MB, free: 43.29 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.001712/0.289, allocations: 1.993 MB / 476.1 MB, free: 42.01 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.2894, allocations: 276.6 kB / 476.3 MB, free: 41.97 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.2896, allocations: 133.6 kB / 476.5 MB, free: 41.95 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008934/0.2905, allocations: 0.7517 MB / 477.2 MB, free: 41.6 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.2908, allocations: 227.6 kB / 477.4 MB, free: 41.47 MB / 394.8 MB Notification: Performance of pre-optimization done (n=38): time 1.563e-06/0.2908, allocations: 4 kB / 477.4 MB, free: 41.47 MB / 394.8 MB Notification: Performance of matching and sorting (n=38): time 0.0007468/0.2915, allocations: 388.5 kB / 477.8 MB, free: 41.36 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.2916, allocations: 58.5 kB / 477.9 MB, free: 41.29 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.2919, allocations: 468.1 kB / 478.3 MB, free: 41.03 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.2919, allocations: 36.3 kB / 478.4 MB, free: 40.99 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.292, allocations: 339 kB / 478.7 MB, free: 40.71 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.2921, allocations: 141.8 kB / 478.8 MB, free: 40.6 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.2922, allocations: 122.6 kB / 479 MB, free: 40.53 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.2923, allocations: 0.5249 MB / 479.5 MB, free: 40.02 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.2925, allocations: 117.1 kB / 479.6 MB, free: 39.97 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.2927, allocations: 300.7 kB / 479.9 MB, free: 39.71 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: veins.mass = veins.tm_start (veins.m_start[1] + veins.massOffset = veins.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009001/0.2936, allocations: 0.7997 MB / 480.7 MB, free: 39.24 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2936, allocations: 0 / 480.7 MB, free: 39.24 MB / 394.8 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005661/0.2942, allocations: 0.5002 MB / 481.2 MB, free: 39.01 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.2942, allocations: 40.25 kB / 481.2 MB, free: 38.97 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.2942, allocations: 8.344 kB / 481.2 MB, free: 38.97 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001218/0.2944, allocations: 34.88 kB / 481.3 MB, free: 38.95 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.2946, allocations: 115.7 kB / 481.4 MB, free: 38.94 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001835/0.2948, allocations: 0.8005 MB / 482.2 MB, free: 38.13 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.295, allocations: 53.73 kB / 482.2 MB, free: 38.1 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.2951, allocations: 26.52 kB / 482.3 MB, free: 38.1 MB / 394.8 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: arteries.mass = arteries.tm_start veins.mass = veins.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.pulse.count,$PRE.pulse.T_start,pulse.count,pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.000107/0.2952, allocations: 195.3 kB / 482.5 MB, free: 37.91 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.2952, allocations: 64.58 kB / 482.5 MB, free: 37.88 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.2957, allocations: 370.8 kB / 482.9 MB, free: 37.72 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.2957, allocations: 4.312 kB / 482.9 MB, free: 37.72 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2957, allocations: 1.031 kB / 482.9 MB, free: 37.72 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2957, allocations: 0 / 482.9 MB, free: 37.72 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.296, allocations: 361.6 kB / 483.2 MB, free: 37.49 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.296, allocations: 0 / 483.2 MB, free: 37.49 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.2962, allocations: 62.7 kB / 483.3 MB, free: 37.48 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-05/0.2962, allocations: 26.25 kB / 483.3 MB, free: 37.47 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.2963, allocations: 19.88 kB / 483.3 MB, free: 37.46 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001435/0.2964, allocations: 0.7883 MB / 484.1 MB, free: 36.66 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2964, allocations: 0 / 484.1 MB, free: 36.66 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005979/0.297, allocations: 457.8 kB / 484.6 MB, free: 36.46 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.2971, allocations: 92.98 kB / 484.7 MB, free: 36.41 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.2972, allocations: 7.531 kB / 484.7 MB, free: 36.41 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.2973, allocations: 23.44 kB / 484.7 MB, free: 36.39 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.2974, allocations: 43.02 kB / 484.7 MB, free: 36.38 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.2974, allocations: 8.562 kB / 484.8 MB, free: 36.38 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0001864/0.2976, allocations: 305.5 kB / 485.1 MB, free: 36.22 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.2976, allocations: 0 / 485.1 MB, free: 36.22 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0007208/0.2983, allocations: 0.5084 MB / 485.6 MB, free: 36.07 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (arteries.enthalpy,arteries.substanceMasses[1],veins.enthalpy,veins.substanceMasses[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.0008306/0.2991, allocations: 0.7564 MB / 486.3 MB, free: 35.82 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0005014/0.2996, allocations: 384.9 kB / 486.7 MB, free: 35.66 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2996, allocations: 1.156 kB / 486.7 MB, free: 35.66 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.2998, allocations: 140.9 kB / 486.8 MB, free: 35.63 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.3004, allocations: 252.1 kB / 487.1 MB, free: 35.54 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.001905/0.3023, allocations: 1.045 MB / 488.1 MB, free: 34.93 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.463e-05/0.3023, allocations: 139.1 kB / 488.3 MB, free: 34.85 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.3025, allocations: 115.2 kB / 488.4 MB, free: 34.82 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.3026, allocations: 60.31 kB / 488.4 MB, free: 34.8 MB / 394.8 MB Notification: Performance of SimCode: time 5.51e-07/0.3026, allocations: 0 / 488.4 MB, free: 34.8 MB / 394.8 MB Notification: Performance of Templates: time 0.01741/0.3201, allocations: 17.83 MB / 0.4944 GB, free: 31.8 MB / 394.8 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6048656799830496]