Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.conf.json 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.0006834/0.0006834, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009418/0.001625, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.001154/0.001154, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002584, allocations: 463.6 kB / 11.64 MB, free: 2.527 MB / 13.93 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.9668/0.9668, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08489/1.052, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7057/0.7057, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03147/0.7371, allocations: 21.03 MB / 0.5431 GB, free: 31.96 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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) Running command: translateModel(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention,tolerance=1e-09,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention") translateModel(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention,tolerance=1e-09,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.5443 GB, free: 30.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.055e-05, allocations: 6.312 kB / 0.5443 GB, free: 30.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention): time 0.00273/0.002761, allocations: 1.823 MB / 0.5461 GB, free: 28.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009983/0.003759, allocations: 0.5803 MB / 0.5467 GB, free: 28.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.003818, allocations: 0 / 0.5467 GB, free: 28.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.95e-05/0.003878, allocations: 11.86 kB / 0.5467 GB, free: 28.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.004157, allocations: 59.55 kB / 0.5468 GB, free: 28.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.004329, allocations: 63.89 kB / 0.5468 GB, free: 28.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.00455, allocations: 175.3 kB / 0.547 GB, free: 27.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.004596, allocations: 13.84 kB / 0.547 GB, free: 27.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.004792, allocations: 123.7 kB / 0.5471 GB, free: 27.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.005054, allocations: 83.83 kB / 0.5472 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.005092, allocations: 8 kB / 0.5472 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.105e-05/0.005123, allocations: 8 kB / 0.5472 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.628e-05/0.005209, allocations: 35.86 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.597e-05/0.005275, allocations: 39.92 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.00544, allocations: 95.61 kB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.835e-05/0.005458, allocations: 0 / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005459, allocations: 0 / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.005474, allocations: 0 / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007187/0.006193, allocations: 403.9 kB / 0.5478 GB, free: 27.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.006226, allocations: 15.88 kB / 0.5478 GB, free: 27.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.006285, allocations: 20.92 kB / 0.5478 GB, free: 27.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.006463, allocations: 164.1 kB / 0.5479 GB, free: 26.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.006494, allocations: 8.375 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.006523, allocations: 12.38 kB / 0.548 GB, free: 26.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.006709, allocations: 77.02 kB / 0.548 GB, free: 26.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.00672, allocations: 192 / 0.548 GB, free: 26.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.006733, allocations: 4.375 kB / 0.548 GB, free: 26.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.00674, allocations: 7.938 kB / 0.5481 GB, free: 26.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.604e-05/0.006826, allocations: 23.97 kB / 0.5481 GB, free: 26.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.007054, allocations: 181.8 kB / 0.5482 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.007245, allocations: 140 kB / 0.5484 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.007299, allocations: 24.84 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.007317, allocations: 4 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.007482, allocations: 94.5 kB / 0.5485 GB, free: 26.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.785e-06/0.007485, allocations: 0 / 0.5485 GB, free: 26.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002303/0.007715, allocations: 105.5 kB / 0.5486 GB, free: 26.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.007744, allocations: 55.41 kB / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.00785, allocations: 159 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.00787, allocations: 33.7 kB / 0.5488 GB, free: 25.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.007906, allocations: 92.86 kB / 0.5489 GB, free: 25.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.007952, allocations: 67.45 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.00802, allocations: 41.69 kB / 0.549 GB, free: 25.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.008064, allocations: 330.8 kB / 0.5493 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.949e-05/0.008133, allocations: 44.53 kB / 0.5494 GB, free: 25.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.059e-05/0.008224, allocations: 164.5 kB / 0.5495 GB, free: 25.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.00834, allocations: 95.23 kB / 0.5496 GB, free: 25.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.008343, allocations: 0 / 0.5496 GB, free: 25.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001819/0.008525, allocations: 163.8 kB / 0.5498 GB, free: 24.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.00856, allocations: 33.7 kB / 0.5498 GB, free: 24.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.008565, allocations: 0 / 0.5498 GB, free: 24.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.008577, allocations: 3.984 kB / 0.5498 GB, free: 24.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.008771, allocations: 46.67 kB / 0.5499 GB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.008774, allocations: 0 / 0.5499 GB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.00891, allocations: 23.88 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.008926, allocations: 8 kB / 0.5499 GB, free: 24.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.14e-05/0.008997, allocations: 120.7 kB / 0.55 GB, free: 24.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.009026, allocations: 23.92 kB / 0.55 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.009207, allocations: 106.6 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.009211, allocations: 4 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.009212, allocations: 0 / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.009217, allocations: 0 / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.009339, allocations: 105.8 kB / 0.5502 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.009342, allocations: 0 / 0.5502 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.009499, allocations: 35.92 kB / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.00953, allocations: 19.88 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.009533, allocations: 0 / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.009551, allocations: 0 / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.009555, allocations: 11.05 kB / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.009556, allocations: 0 / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.009802, allocations: 161.9 kB / 0.5505 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.009835, allocations: 11.92 kB / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.009938, allocations: 8 kB / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.009997, allocations: 15.97 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.01001, allocations: 7.609 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.118e-05/0.01006, allocations: 40.83 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01006, allocations: 0 / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002105/0.01027, allocations: 40 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (q[1],q[2],qAbsorbed) * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001048/0.01038, allocations: 80.41 kB / 0.5507 GB, free: 23.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.01058, allocations: 157.8 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.01059, allocations: 0 / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.01067, allocations: 48.77 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.01093, allocations: 59.95 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004865/0.0158, allocations: 435.7 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.9e-05/0.01586, allocations: 102.4 kB / 0.5514 GB, free: 23.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.01609, allocations: 95.34 kB / 0.5515 GB, free: 22.97 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.01609, allocations: 0 / 0.5515 GB, free: 22.97 MB / 410.7 MB Notification: Performance of Templates: time 0.003647/0.01974, allocations: 2.362 MB / 0.5538 GB, free: 20.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.042479467578232]