Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.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.0533/0.0533, allocations: 11.15 MB / 31.01 MB, free: 4.789 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.001285/0.001285, allocations: 93.97 kB / 38.74 MB, free: 6.848 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.0009564/0.0009564, allocations: 166.3 kB / 42.15 MB, free: 3.523 MB / 33.03 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.9395/0.9395, allocations: 177.2 MB / 222.6 MB, free: 6.273 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.1989/0.1989, allocations: 17.62 MB / 296.7 MB, free: 1.273 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.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation") translateModel(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 321.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.154e-05, allocations: 2.312 kB / 321.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation): time 0.03366/0.03367, allocations: 50.96 MB / 372.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.04436, allocations: 12.06 MB / 384.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000757/0.04512, allocations: 47.62 kB / 384.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.04569, allocations: 305.4 kB / 384.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005271/0.05096, allocations: 2.969 MB / 387.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006355/0.05731, allocations: 3.028 MB / 390.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.05922, allocations: 2.672 MB / 393.2 MB, free: 5.621 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007495/0.05997, allocations: 0.5877 MB / 393.8 MB, free: 5.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.06206, allocations: 1.872 MB / 395.6 MB, free: 3.141 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007565/0.06282, allocations: 0.849 MB / 396.5 MB, free: 2.289 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.827e-05/0.06291, allocations: 88 kB / 396.6 MB, free: 2.203 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.0661, allocations: 2.12 MB / 398.7 MB, free: 80 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.0663, allocations: 318.8 kB / 399 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.0666, allocations: 431.1 kB / 399.4 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.06971, allocations: 3.074 MB / 402.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.06972, allocations: 0 / 402.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.06972, allocations: 4 kB / 402.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.06973, allocations: 0 / 402.5 MB, free: 12.25 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001476/0.0712, allocations: 1.548 MB / 404 MB, free: 10.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.07123, allocations: 8.031 kB / 404 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.07136, allocations: 131.8 kB / 404.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006415/0.07201, allocations: 0.5313 MB / 404.7 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.07205, allocations: 62 kB / 404.8 MB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.368e-05/0.07212, allocations: 75.95 kB / 404.8 MB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007162/0.07284, allocations: 0.7276 MB / 405.6 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.07286, allocations: 8 kB / 405.6 MB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.07291, allocations: 32 kB / 405.6 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.07292, allocations: 16 kB / 405.6 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.07331, allocations: 290 kB / 405.9 MB, free: 8.695 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.002415/0.07573, allocations: 2.419 MB / 408.3 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.07614, allocations: 359.9 kB / 408.7 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.07645, allocations: 266.1 kB / 408.9 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.07747, allocations: 0.7885 MB / 409.7 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.0775, allocations: 43 kB / 409.8 MB, free: 4.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 1.292e-06/0.0775, allocations: 0 / 409.8 MB, free: 4.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.0007624/0.07826, allocations: 469.1 kB / 410.2 MB, free: 4.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.07829, allocations: 55.91 kB / 410.3 MB, free: 4.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.0787, allocations: 0.6184 MB / 410.9 MB, free: 3.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.07873, allocations: 37.7 kB / 410.9 MB, free: 3.508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.07888, allocations: 385.2 kB / 411.3 MB, free: 3.129 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.07898, allocations: 206.2 kB / 411.5 MB, free: 2.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.07913, allocations: 158.5 kB / 411.7 MB, free: 2.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.07924, allocations: 398.6 kB / 412.1 MB, free: 2.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.07945, allocations: 116.8 kB / 412.2 MB, free: 2.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.07972, allocations: 334.5 kB / 412.5 MB, free: 1.84 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: PulmonaryArteries.mass = PulmonaryArteries.tm_start (PulmonaryArteries.m_start[1] + PulmonaryArteries.massOffset = PulmonaryArteries.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: PulmonaryVeins.mass = PulmonaryVeins.tm_start (PulmonaryVeins.m_start[1] + PulmonaryVeins.massOffset = PulmonaryVeins.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: SystemicVeins.mass = SystemicVeins.tm_start (SystemicVeins.m_start[1] + SystemicVeins.massOffset = SystemicVeins.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: SystemicArteries.mass = SystemicArteries.tm_start (SystemicArteries.m_start[1] + SystemicArteries.massOffset = SystemicArteries.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.08126, allocations: 1.21 MB / 413.7 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.08126, allocations: 4 kB / 413.7 MB, free: 0.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00072/0.08198, allocations: 0.5587 MB / 414.3 MB, free: 15.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.082, allocations: 8 kB / 414.3 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.08201, allocations: 4.562 kB / 414.3 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.08224, allocations: 123.3 kB / 414.4 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.08264, allocations: 187.7 kB / 414.6 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009474/0.08358, allocations: 2.1 MB / 416.7 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.08388, allocations: 87.59 kB / 416.8 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.08393, allocations: 35.97 kB / 416.8 MB, free: 13.31 MB / 394.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: PulmonaryArteries.mass = PulmonaryArteries.tm_start PulmonaryVeins.mass = PulmonaryVeins.tm_start SystemicVeins.mass = SystemicVeins.tm_start SystemicArteries.mass = SystemicArteries.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.08408, allocations: 161.7 kB / 417 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.08415, allocations: 67.88 kB / 417 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.08465, allocations: 413.9 kB / 417.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.08466, allocations: 8 kB / 417.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.08466, allocations: 0 / 417.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.08466, allocations: 0 / 417.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.08503, allocations: 381.8 kB / 417.8 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.08503, allocations: 0 / 417.8 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.08529, allocations: 99.88 kB / 417.9 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001851/0.08548, allocations: 123.3 kB / 418 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.0855, allocations: 19.98 kB / 418.1 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006231/0.08613, allocations: 2.08 MB / 420.1 MB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.08613, allocations: 0 / 420.1 MB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.08673, allocations: 0.5748 MB / 420.7 MB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.0869, allocations: 99.33 kB / 420.8 MB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.254e-05/0.08696, allocations: 15.98 kB / 420.8 MB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.08715, allocations: 16 kB / 420.8 MB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.08722, allocations: 44.41 kB / 420.9 MB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.08725, allocations: 15.98 kB / 420.9 MB, free: 9.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002148/0.08746, allocations: 299.4 kB / 421.2 MB, free: 8.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.08746, allocations: 0 / 421.2 MB, free: 8.734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001131/0.08859, allocations: 0.8138 MB / 422 MB, free: 7.918 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (PulmonaryArteries.enthalpy,PulmonaryArteries.substanceMasses[1],PulmonaryVeins.enthalpy,PulmonaryVeins.substanceMasses[1],SystemicVeins.enthalpy,SystemicVeins.substanceMasses[1],SystemicArteries.enthalpy,SystemicArteries.substanceMasses[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001448/0.09004, allocations: 1.17 MB / 423.2 MB, free: 6.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005504/0.09059, allocations: 415 kB / 423.6 MB, free: 6.344 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/0.09061, allocations: 16.5 kB / 423.6 MB, free: 6.328 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.09083, allocations: 188.5 kB / 423.8 MB, free: 6.141 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.09163, allocations: 404.2 kB / 424.2 MB, free: 5.77 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.002155/0.09379, allocations: 1.561 MB / 425.7 MB, free: 4.172 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.09389, allocations: 179.7 kB / 425.9 MB, free: 3.977 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002876/0.09418, allocations: 110.7 kB / 426 MB, free: 3.863 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.09467, allocations: 305.1 kB / 426.3 MB, free: 3.562 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.09467, allocations: 0 / 426.3 MB, free: 3.562 MB / 394.7 MB Notification: Performance of Templates: time 0.1757/0.2703, allocations: 33.84 MB / 460.2 MB, free: 110.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5201188940554857]