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.00122/0.00122, allocations: 112.3 kB / 19.71 MB, free: 432 kB / 13.93 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.001992/0.001992, allocations: 215.5 kB / 23 MB, free: 2.957 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.9453/0.9453, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.6888/0.6888, allocations: 312.3 MB / 0.6108 GB, free: 97.19 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 77.09 kB / 0.7698 GB, free: 19.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1103, allocations: 73.99 MB / 0.8421 GB, free: 9.879 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention): time 0.002061/0.1123, allocations: 1.697 MB / 0.8437 GB, free: 8.188 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007298/0.1131, allocations: 0.5417 MB / 0.8442 GB, free: 7.645 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.1131, allocations: 0 / 0.8442 GB, free: 7.645 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.035e-05/0.1132, allocations: 20.3 kB / 0.8443 GB, free: 7.625 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.1135, allocations: 64.67 kB / 0.8443 GB, free: 7.562 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.1137, allocations: 62.33 kB / 0.8444 GB, free: 7.504 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004495/0.1141, allocations: 171.3 kB / 0.8446 GB, free: 7.336 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.1141, allocations: 9.906 kB / 0.8446 GB, free: 7.328 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.1142, allocations: 75.75 kB / 0.8446 GB, free: 7.254 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.1145, allocations: 96.27 kB / 0.8447 GB, free: 7.16 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.1145, allocations: 8.5 kB / 0.8447 GB, free: 7.152 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.288e-05/0.1145, allocations: 8.625 kB / 0.8447 GB, free: 7.145 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-05/0.1146, allocations: 47.88 kB / 0.8448 GB, free: 7.098 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.381e-05/0.1146, allocations: 56.69 kB / 0.8448 GB, free: 7.043 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.1148, allocations: 115.5 kB / 0.8449 GB, free: 6.93 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1148, allocations: 0.7188 kB / 0.845 GB, free: 6.93 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1148, allocations: 0 / 0.845 GB, free: 6.93 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1148, allocations: 0.7188 kB / 0.845 GB, free: 6.93 MB / 474.8 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.0005754/0.1154, allocations: 416.8 kB / 0.8453 GB, free: 6.488 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1154, allocations: 8.719 kB / 0.8454 GB, free: 6.48 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.1154, allocations: 25.34 kB / 0.8454 GB, free: 6.457 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.1156, allocations: 160.2 kB / 0.8455 GB, free: 6.277 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1156, allocations: 5.031 kB / 0.8455 GB, free: 6.273 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.1156, allocations: 12.38 kB / 0.8456 GB, free: 6.262 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1158, allocations: 114.6 kB / 0.8457 GB, free: 6.145 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1158, allocations: 0.5938 kB / 0.8457 GB, free: 6.145 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1158, allocations: 0.5938 kB / 0.8457 GB, free: 6.145 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1158, allocations: 0 / 0.8457 GB, free: 6.145 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.116, allocations: 105.1 kB / 0.8458 GB, free: 6.043 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002502/0.1162, allocations: 260.5 kB / 0.846 GB, free: 5.758 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.1165, allocations: 155.8 kB / 0.8462 GB, free: 5.598 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1166, allocations: 69.84 kB / 0.8462 GB, free: 5.527 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1166, allocations: 4.594 kB / 0.8462 GB, free: 5.523 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.1168, allocations: 130.2 kB / 0.8464 GB, free: 5.387 MB / 474.8 MB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.1168, allocations: 4.625 kB / 0.8464 GB, free: 5.383 MB / 474.8 MB Notification: Performance of matching and sorting (n=16): time 0.0003759/0.1172, allocations: 242.6 kB / 0.8466 GB, free: 5.141 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.1172, allocations: 56.03 kB / 0.8466 GB, free: 5.074 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1173, allocations: 165.8 kB / 0.8468 GB, free: 4.906 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1173, allocations: 26.33 kB / 0.8468 GB, free: 4.875 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.1174, allocations: 104.1 kB / 0.8469 GB, free: 4.77 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.1174, allocations: 52.14 kB / 0.847 GB, free: 4.719 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.1175, allocations: 46.3 kB / 0.847 GB, free: 4.668 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.096e-05/0.1175, allocations: 330.8 kB / 0.8473 GB, free: 4.336 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.1177, allocations: 102.1 kB / 0.8474 GB, free: 4.23 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.1178, allocations: 215.2 kB / 0.8476 GB, free: 3.984 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.118, allocations: 173.7 kB / 0.8478 GB, free: 3.809 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.118, allocations: 0.5625 kB / 0.8478 GB, free: 3.809 MB / 474.8 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002776/0.1183, allocations: 274 kB / 0.8481 GB, free: 3.523 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.1183, allocations: 33.7 kB / 0.8481 GB, free: 3.484 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1183, allocations: 0.5938 kB / 0.8481 GB, free: 3.484 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1183, allocations: 0.6875 kB / 0.8481 GB, free: 3.484 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1185, allocations: 40.41 kB / 0.8481 GB, free: 3.445 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1185, allocations: 4 kB / 0.8481 GB, free: 3.441 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.354e-05/0.1186, allocations: 32.36 kB / 0.8482 GB, free: 3.41 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1186, allocations: 4.625 kB / 0.8482 GB, free: 3.406 MB / 474.8 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.471e-05/0.1186, allocations: 126.4 kB / 0.8483 GB, free: 3.273 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.1187, allocations: 24.52 kB / 0.8483 GB, free: 3.25 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.1189, allocations: 205.7 kB / 0.8485 GB, free: 3.047 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1189, allocations: 4.562 kB / 0.8485 GB, free: 3.043 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1189, allocations: 4.75 kB / 0.8485 GB, free: 3.039 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1189, allocations: 0 / 0.8485 GB, free: 3.039 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.1191, allocations: 161.2 kB / 0.8487 GB, free: 2.852 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1191, allocations: 0.6875 kB / 0.8487 GB, free: 2.852 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1192, allocations: 36.72 kB / 0.8487 GB, free: 2.816 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1192, allocations: 0 / 0.8487 GB, free: 2.816 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1192, allocations: 5.781 kB / 0.8487 GB, free: 2.812 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1192, allocations: 0 / 0.8487 GB, free: 2.812 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1192, allocations: 11.92 kB / 0.8487 GB, free: 2.801 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.1195, allocations: 298.1 kB / 0.849 GB, free: 2.492 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.1196, allocations: 19.88 kB / 0.849 GB, free: 2.473 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.1196, allocations: 8 kB / 0.849 GB, free: 2.465 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.353e-05/0.1196, allocations: 13.08 kB / 0.8491 GB, free: 2.453 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.1197, allocations: 19.91 kB / 0.8491 GB, free: 2.434 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1197, allocations: 6.031 kB / 0.8491 GB, free: 2.43 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.395e-05/0.1198, allocations: 127.2 kB / 0.8492 GB, free: 2.305 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1198, allocations: 0 / 0.8492 GB, free: 2.305 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001379/0.1199, allocations: 40 kB / 0.8492 GB, free: 2.266 MB / 474.8 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 7.738e-05/0.12, allocations: 101.6 kB / 0.8493 GB, free: 2.16 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.1203, allocations: 243.3 kB / 0.8496 GB, free: 1.906 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1203, allocations: 0 / 0.8496 GB, free: 1.906 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.1204, allocations: 83.78 kB / 0.8496 GB, free: 1.824 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.1206, allocations: 51.39 kB / 0.8497 GB, free: 1.777 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.1211, allocations: 400.6 kB / 0.8501 GB, free: 1.352 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.121e-05/0.1212, allocations: 104.3 kB / 0.8502 GB, free: 1.227 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.1212, allocations: 20.03 kB / 0.8502 GB, free: 1.207 MB / 474.8 MB Notification: Performance of SimCode: time 7.21e-07/0.1212, allocations: 0 / 0.8502 GB, free: 1.207 MB / 474.8 MB Notification: Performance of Templates: time 0.003087/0.1243, allocations: 2.35 MB / 0.8525 GB, free: 14.95 MB / 490.8 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: 6.030312360264361]