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.05807/0.05807, allocations: 11.16 MB / 30.72 MB, free: 4.453 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.0009727/0.0009727, allocations: 102.9 kB / 38.4 MB, free: 7 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.00114/0.00114, allocations: 168.5 kB / 46.18 MB, free: 10.32 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.894/0.894, allocations: 177.2 MB / 231 MB, free: 4.773 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.1028/0.1028, allocations: 17.64 MB / 309.6 MB, free: 8.734 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.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.423e-06/1.423e-06, allocations: 0 / 391.2 MB, free: 46.19 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/2.96e-05, allocations: 2.312 kB / 391.2 MB, free: 46.19 MB / 330.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.04471/0.04473, allocations: 62.16 MB / 453.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008448/0.05318, allocations: 6.574 MB / 460 MB, free: 9.613 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007273/0.05391, allocations: 31.75 kB / 460 MB, free: 9.582 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006515/0.05456, allocations: 206.4 kB / 460.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0037/0.05826, allocations: 1.614 MB / 461.8 MB, free: 7.754 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005307/0.06357, allocations: 2.267 MB / 464.1 MB, free: 5.473 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.06529, allocations: 1.527 MB / 465.6 MB, free: 3.941 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005433/0.06583, allocations: 356.2 kB / 466 MB, free: 3.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.06813, allocations: 1.365 MB / 467.3 MB, free: 2.219 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000672/0.0688, allocations: 0.4946 MB / 467.8 MB, free: 1.723 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.973e-05/0.06888, allocations: 56 kB / 467.9 MB, free: 1.668 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.0717, allocations: 1.298 MB / 469.2 MB, free: 376 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.07188, allocations: 191.3 kB / 469.4 MB, free: 184 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002769/0.07216, allocations: 255.5 kB / 469.6 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002679/0.07484, allocations: 1.919 MB / 471.5 MB, free: 14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.07484, allocations: 4 kB / 471.5 MB, free: 14 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.07484, allocations: 0 / 471.5 MB, free: 14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.07485, allocations: 0 / 471.5 MB, free: 14 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001679/0.07653, allocations: 1.182 MB / 472.7 MB, free: 12.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.07657, allocations: 8.031 kB / 472.7 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.07674, allocations: 103.6 kB / 472.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.07733, allocations: 412.5 kB / 473.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.07737, allocations: 37 kB / 473.3 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/0.07744, allocations: 44 kB / 473.3 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/0.07815, allocations: 0.5018 MB / 473.8 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.07817, allocations: 7.953 kB / 473.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.07821, allocations: 16 kB / 473.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.07823, allocations: 16 kB / 473.9 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.0787, allocations: 241.7 kB / 474.1 MB, free: 11.32 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.002034/0.08073, allocations: 1.988 MB / 476.1 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.08119, allocations: 282.1 kB / 476.4 MB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.08144, allocations: 135.5 kB / 476.5 MB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/0.08248, allocations: 0.7571 MB / 477.2 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/0.0828, allocations: 232.3 kB / 477.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 2.154e-06/0.0828, allocations: 0 / 477.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=38): time 0.0008315/0.08363, allocations: 392.4 kB / 477.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.08367, allocations: 59.27 kB / 477.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/0.08406, allocations: 462.5 kB / 478.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.0841, allocations: 33.7 kB / 478.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.08428, allocations: 339 kB / 478.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.08438, allocations: 142.8 kB / 478.9 MB, free: 6.359 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.08453, allocations: 119.9 kB / 479 MB, free: 6.234 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.08468, allocations: 0.5274 MB / 479.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.08489, allocations: 115 kB / 479.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.08518, allocations: 299.3 kB / 479.9 MB, free: 5.203 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) 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.001148/0.08633, allocations: 0.7915 MB / 480.7 MB, free: 4.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.08633, allocations: 0 / 480.7 MB, free: 4.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007749/0.08711, allocations: 0.5166 MB / 481.2 MB, free: 3.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.08714, allocations: 33.7 kB / 481.3 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.08715, allocations: 4 kB / 481.3 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.0873, allocations: 31.67 kB / 481.3 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.08766, allocations: 107.8 kB / 481.4 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003721/0.08803, allocations: 0.8118 MB / 482.2 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.08833, allocations: 59.61 kB / 482.3 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.08837, allocations: 27.98 kB / 482.3 MB, free: 2.664 MB / 378.7 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.0001653/0.08853, allocations: 192.4 kB / 482.5 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/0.08861, allocations: 55.72 kB / 482.5 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006309/0.08925, allocations: 377.2 kB / 482.9 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.08925, allocations: 4 kB / 482.9 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.08926, allocations: 0 / 482.9 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.08926, allocations: 0 / 482.9 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.08963, allocations: 352.2 kB / 483.3 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.08963, allocations: 3.984 kB / 483.3 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.08987, allocations: 71.84 kB / 483.3 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.877e-05/0.08995, allocations: 23.67 kB / 483.4 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.08998, allocations: 11.98 kB / 483.4 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003209/0.0903, allocations: 0.8038 MB / 484.2 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.0903, allocations: 3.938 kB / 484.2 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007227/0.09102, allocations: 451.3 kB / 484.6 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.09118, allocations: 99.47 kB / 484.7 MB, free: 132 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.09123, allocations: 8 kB / 484.7 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.09141, allocations: 20.05 kB / 484.7 MB, free: 104 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/0.0915, allocations: 39.94 kB / 484.8 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.09152, allocations: 11.98 kB / 484.8 MB, free: 52 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002514/0.09177, allocations: 303 kB / 485.1 MB, free: 15.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09177, allocations: 0 / 485.1 MB, free: 15.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001138/0.09291, allocations: 0.51 MB / 485.6 MB, free: 15.24 MB / 394.7 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.00113/0.09404, allocations: 0.7472 MB / 486.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006424/0.09468, allocations: 381.4 kB / 486.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.09469, allocations: 0 / 486.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.09493, allocations: 148.5 kB / 486.9 MB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.096, allocations: 241.8 kB / 487.1 MB, free: 13.71 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.002573/0.09857, allocations: 1.053 MB / 488.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.554e-05/0.09866, allocations: 133.6 kB / 488.3 MB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003159/0.09898, allocations: 120.3 kB / 488.4 MB, free: 12.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.09912, allocations: 60.47 kB / 488.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/0.09912, allocations: 0 / 488.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of Templates: time 0.02334/0.1225, allocations: 20.77 MB / 0.4973 GB, free: 7.719 MB / 410.7 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.661146747879684]