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.07149/0.07149, allocations: 11.15 MB / 31.25 MB, free: 4.926 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.001017/0.001017, allocations: 100.6 kB / 38.87 MB, free: 7.379 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.001747/0.001747, allocations: 160.5 kB / 46.57 MB, free: 10.76 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 1.04/1.04, allocations: 177.1 MB / 231.3 MB, free: 6.402 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.2362/0.2362, allocations: 17.62 MB / 309.8 MB, free: 1.734 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.923e-06/1.923e-06, allocations: 0 / 391.1 MB, free: 5.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.43e-05, allocations: 2.312 kB / 391.1 MB, free: 5.086 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.3736/0.3736, allocations: 80.23 MB / 471.4 MB, free: 46.74 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.015/0.3886, allocations: 15.56 MB / 486.9 MB, free: 46.54 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.3897, allocations: 29.41 kB / 487 MB, free: 46.54 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0008272/0.3905, allocations: 250.2 kB / 487.2 MB, free: 46.54 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00369/0.3942, allocations: 1.631 MB / 488.8 MB, free: 46.28 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005249/0.3995, allocations: 2.26 MB / 491.1 MB, free: 45.68 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.4011, allocations: 1.524 MB / 492.6 MB, free: 45.33 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004667/0.4016, allocations: 355.9 kB / 493 MB, free: 45.3 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.404, allocations: 1.366 MB / 494.3 MB, free: 45.03 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007671/0.4048, allocations: 0.5094 MB / 494.8 MB, free: 44.97 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-05/0.4049, allocations: 55.59 kB / 494.9 MB, free: 44.97 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003429/0.4083, allocations: 1.299 MB / 496.2 MB, free: 44.82 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.4085, allocations: 177.5 kB / 496.4 MB, free: 44.8 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003126/0.4088, allocations: 258.9 kB / 496.6 MB, free: 44.77 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003798/0.4126, allocations: 1.916 MB / 498.5 MB, free: 44.43 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4126, allocations: 5.062 kB / 498.5 MB, free: 44.43 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4126, allocations: 0 / 498.5 MB, free: 44.43 MB / 410.8 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.4126, allocations: 0 / 498.5 MB, free: 44.43 MB / 410.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.001905/0.4145, allocations: 1.181 MB / 499.7 MB, free: 43.69 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4146, allocations: 9.781 kB / 499.7 MB, free: 43.69 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.4148, allocations: 97.75 kB / 499.8 MB, free: 43.66 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006754/0.4155, allocations: 423.2 kB / 0.4885 GB, free: 43.44 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/0.4155, allocations: 38.47 kB / 0.4886 GB, free: 43.44 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/0.4156, allocations: 42.81 kB / 0.4886 GB, free: 43.44 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007843/0.4164, allocations: 0.5094 MB / 0.4891 GB, free: 43.21 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.4164, allocations: 0 / 0.4891 GB, free: 43.21 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.4164, allocations: 18.31 kB / 0.4891 GB, free: 43.21 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.4165, allocations: 15.06 kB / 0.4891 GB, free: 43.21 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/0.417, allocations: 245.6 kB / 0.4894 GB, free: 43.19 MB / 410.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.002159/0.4192, allocations: 1.986 MB / 0.4913 GB, free: 41.92 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005967/0.4198, allocations: 279 kB / 0.4916 GB, free: 41.88 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.4201, allocations: 128.9 kB / 0.4917 GB, free: 41.86 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.4213, allocations: 0.758 MB / 0.4924 GB, free: 41.5 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003446/0.4217, allocations: 230.9 kB / 0.4927 GB, free: 41.38 MB / 410.8 MB Notification: Performance of pre-optimization done (n=38): time 2.324e-06/0.4217, allocations: 0 / 0.4927 GB, free: 41.38 MB / 410.8 MB Notification: Performance of matching and sorting (n=38): time 0.0009425/0.4226, allocations: 395.4 kB / 0.493 GB, free: 41.29 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.4227, allocations: 61.38 kB / 0.4931 GB, free: 41.23 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.4231, allocations: 459.9 kB / 0.4935 GB, free: 41 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.4231, allocations: 32.42 kB / 0.4936 GB, free: 40.97 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.4233, allocations: 339.8 kB / 0.4939 GB, free: 40.68 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.393e-05/0.4233, allocations: 141.6 kB / 0.494 GB, free: 40.57 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.4235, allocations: 114.5 kB / 0.4941 GB, free: 40.51 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.4236, allocations: 0.5331 MB / 0.4946 GB, free: 39.99 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.4238, allocations: 115.6 kB / 0.4948 GB, free: 39.95 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.4241, allocations: 299.5 kB / 0.495 GB, free: 39.68 MB / 410.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.001231/0.4253, allocations: 0.7922 MB / 0.4958 GB, free: 39.22 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4253, allocations: 5.812 kB / 0.4958 GB, free: 39.21 MB / 410.8 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008928/0.4262, allocations: 0.5022 MB / 0.4963 GB, free: 38.98 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.4262, allocations: 33.8 kB / 0.4963 GB, free: 38.95 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.4263, allocations: 8 kB / 0.4964 GB, free: 38.95 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.4264, allocations: 31.14 kB / 0.4964 GB, free: 38.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.4268, allocations: 114.9 kB / 0.4965 GB, free: 38.92 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002861/0.4271, allocations: 0.8051 MB / 0.4973 GB, free: 38.11 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.4275, allocations: 53.67 kB / 0.4973 GB, free: 38.08 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.4276, allocations: 33.5 kB / 0.4974 GB, free: 38.07 MB / 410.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.0001782/0.4277, allocations: 193.3 kB / 0.4975 GB, free: 37.88 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4278, allocations: 61.05 kB / 0.4976 GB, free: 37.85 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007159/0.4286, allocations: 368.1 kB / 0.498 GB, free: 37.7 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.4286, allocations: 3.844 kB / 0.498 GB, free: 37.7 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4286, allocations: 4 kB / 0.498 GB, free: 37.7 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.4286, allocations: 8.531 kB / 0.498 GB, free: 37.7 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.429, allocations: 352.8 kB / 0.4983 GB, free: 37.47 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.429, allocations: 0 / 0.4983 GB, free: 37.47 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.4292, allocations: 66.86 kB / 0.4984 GB, free: 37.46 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.4294, allocations: 33.58 kB / 0.4984 GB, free: 37.44 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.4294, allocations: 10.56 kB / 0.4984 GB, free: 37.44 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002574/0.4297, allocations: 0.7997 MB / 0.4992 GB, free: 36.63 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4297, allocations: 0 / 0.4992 GB, free: 36.63 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008702/0.4305, allocations: 452.7 kB / 0.4996 GB, free: 36.43 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.4307, allocations: 94 kB / 0.4997 GB, free: 36.38 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/0.4308, allocations: 7.531 kB / 0.4997 GB, free: 36.38 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.4311, allocations: 19.16 kB / 0.4997 GB, free: 36.37 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.4312, allocations: 39.2 kB / 0.4998 GB, free: 36.36 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.4312, allocations: 20.53 kB / 0.4998 GB, free: 36.35 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.000303/0.4315, allocations: 299.7 kB / 0.5001 GB, free: 36.19 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4315, allocations: 0 / 0.5001 GB, free: 36.19 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.002011/0.4335, allocations: 0.5092 MB / 0.5006 GB, free: 36.04 MB / 410.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.002217/0.4358, allocations: 0.7535 MB / 0.5013 GB, free: 35.79 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.4368, allocations: 386.7 kB / 0.5017 GB, free: 35.62 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.4368, allocations: 3.156 kB / 0.5017 GB, free: 35.62 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.4372, allocations: 149.6 kB / 0.5018 GB, free: 35.59 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.4383, allocations: 240.7 kB / 0.5021 GB, free: 35.51 MB / 410.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.00361/0.4419, allocations: 1.049 MB / 0.5031 GB, free: 34.9 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.4421, allocations: 138.4 kB / 0.5032 GB, free: 34.82 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0004902/0.4425, allocations: 112.6 kB / 0.5033 GB, free: 34.79 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.4427, allocations: 62.97 kB / 0.5034 GB, free: 34.77 MB / 410.8 MB Notification: Performance of SimCode: time 2.364e-06/0.4427, allocations: 0 / 0.5034 GB, free: 34.77 MB / 410.8 MB Notification: Performance of Templates: time 0.02273/0.4654, allocations: 17.84 MB / 0.5208 GB, free: 31.91 MB / 410.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: 4.039069710066542]