Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.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.001032/0.001032, allocations: 100.4 kB / 19.7 MB, free: 452 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.001596/0.001596, allocations: 217.8 kB / 23 MB, free: 2.977 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.9229/0.9229, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.6977/0.6977, allocations: 312.3 MB / 0.6108 GB, free: 97 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.Examples.PK_1C_ProteinBinding,tolerance=1e-09,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding") translateModel(Pharmacolibrary.Examples.PK_1C_ProteinBinding,tolerance=1e-09,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding") [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.001767/0.001767, allocations: 77.47 kB / 0.7698 GB, free: 19.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1199, allocations: 73.98 MB / 0.842 GB, free: 9.867 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_ProteinBinding): time 0.002525/0.1224, allocations: 2.119 MB / 0.8441 GB, free: 7.75 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007358/0.1231, allocations: 0.5281 MB / 0.8446 GB, free: 7.223 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.1232, allocations: 4 kB / 0.8446 GB, free: 7.219 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.1233, allocations: 20.44 kB / 0.8447 GB, free: 7.199 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.1235, allocations: 64.11 kB / 0.8447 GB, free: 7.137 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.1236, allocations: 40.53 kB / 0.8448 GB, free: 7.098 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1238, allocations: 211 kB / 0.845 GB, free: 6.891 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.124, allocations: 26.59 kB / 0.845 GB, free: 6.863 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.529e-05/0.124, allocations: 80.23 kB / 0.8451 GB, free: 6.785 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.1241, allocations: 76.19 kB / 0.8451 GB, free: 6.711 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.1242, allocations: 16 kB / 0.8451 GB, free: 6.695 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.201e-05/0.1242, allocations: 16.5 kB / 0.8452 GB, free: 6.68 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.1242, allocations: 32.39 kB / 0.8452 GB, free: 6.648 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.1243, allocations: 75.7 kB / 0.8453 GB, free: 6.574 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1245, allocations: 167.9 kB / 0.8454 GB, free: 6.41 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1245, allocations: 0.5625 kB / 0.8454 GB, free: 6.41 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1245, allocations: 0 / 0.8454 GB, free: 6.41 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1245, allocations: 0.625 kB / 0.8454 GB, free: 6.41 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006209/0.1251, allocations: 426.3 kB / 0.8458 GB, free: 5.961 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1252, allocations: 8.625 kB / 0.8458 GB, free: 5.953 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.1252, allocations: 21.36 kB / 0.8459 GB, free: 5.934 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.1254, allocations: 167.3 kB / 0.846 GB, free: 5.746 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1254, allocations: 13 kB / 0.846 GB, free: 5.734 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.1254, allocations: 12.38 kB / 0.846 GB, free: 5.723 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.1256, allocations: 134.2 kB / 0.8462 GB, free: 5.59 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1257, allocations: 4 kB / 0.8462 GB, free: 5.586 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1257, allocations: 8.562 kB / 0.8462 GB, free: 5.578 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1257, allocations: 4.594 kB / 0.8462 GB, free: 5.574 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.1258, allocations: 92.42 kB / 0.8463 GB, free: 5.484 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.1263, allocations: 373.9 kB / 0.8466 GB, free: 5.09 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.1266, allocations: 135.7 kB / 0.8468 GB, free: 4.949 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.623e-05/0.1267, allocations: 61.47 kB / 0.8468 GB, free: 4.887 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.1267, allocations: 4 kB / 0.8468 GB, free: 4.883 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.1269, allocations: 108.8 kB / 0.8469 GB, free: 4.766 MB / 474.8 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.1269, allocations: 0 / 0.8469 GB, free: 4.766 MB / 474.8 MB Notification: Performance of matching and sorting (n=14): time 0.0005371/0.1274, allocations: 256.2 kB / 0.8472 GB, free: 4.512 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.1275, allocations: 51.91 kB / 0.8472 GB, free: 4.449 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.1276, allocations: 174.8 kB / 0.8474 GB, free: 4.27 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1276, allocations: 25.7 kB / 0.8474 GB, free: 4.238 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.1277, allocations: 120.6 kB / 0.8475 GB, free: 4.117 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.1277, allocations: 48.25 kB / 0.8476 GB, free: 4.07 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.1278, allocations: 37.7 kB / 0.8476 GB, free: 4.027 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.548e-05/0.1278, allocations: 323.4 kB / 0.8479 GB, free: 3.703 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.128, allocations: 95.11 kB / 0.848 GB, free: 3.602 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.1281, allocations: 156.4 kB / 0.8482 GB, free: 3.422 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.1283, allocations: 169.1 kB / 0.8483 GB, free: 3.242 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1283, allocations: 4.5 kB / 0.8483 GB, free: 3.238 MB / 474.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003415/0.1286, allocations: 288.5 kB / 0.8486 GB, free: 2.938 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.1286, allocations: 33.69 kB / 0.8486 GB, free: 2.898 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1286, allocations: 4 kB / 0.8486 GB, free: 2.895 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.1288, allocations: 26.06 kB / 0.8487 GB, free: 2.867 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.921e-05/0.1289, allocations: 41.28 kB / 0.8487 GB, free: 2.828 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007587/0.1296, allocations: 1.259 MB / 0.8499 GB, free: 1.473 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.425e-05/0.1297, allocations: 23.88 kB / 0.85 GB, free: 1.449 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1297, allocations: 4 kB / 0.85 GB, free: 1.445 MB / 474.8 MB Warning: Assuming fixed start value for the following 2 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve (total conc)\" type: Real periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 9.93e-05/0.1298, allocations: 144.7 kB / 0.8501 GB, free: 1.301 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.1298, allocations: 15.91 kB / 0.8501 GB, free: 1.285 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.1299, allocations: 25.58 kB / 0.8501 GB, free: 1.258 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1299, allocations: 0 / 0.8501 GB, free: 1.258 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1299, allocations: 4.5 kB / 0.8501 GB, free: 1.254 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1299, allocations: 0 / 0.8501 GB, free: 1.254 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.13, allocations: 165.7 kB / 0.8503 GB, free: 1.062 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.13, allocations: 0.75 kB / 0.8503 GB, free: 1.062 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.626e-05/0.1301, allocations: 23.98 kB / 0.8503 GB, free: 1.039 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.998e-05/0.1302, allocations: 39.69 kB / 0.8504 GB, free: 1 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1302, allocations: 4 kB / 0.8504 GB, free: 0.9961 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005924/0.1308, allocations: 1.253 MB / 0.8516 GB, free: 15.64 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1308, allocations: 5.969 kB / 0.8516 GB, free: 15.64 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.1311, allocations: 270.3 kB / 0.8519 GB, free: 15.35 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.1311, allocations: 11.95 kB / 0.8519 GB, free: 15.34 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.1312, allocations: 13.86 kB / 0.8519 GB, free: 15.33 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.335e-05/0.1312, allocations: 11.98 kB / 0.8519 GB, free: 15.32 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.1313, allocations: 15.97 kB / 0.8519 GB, free: 15.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1313, allocations: 4 kB / 0.8519 GB, free: 15.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 7.132e-05/0.1314, allocations: 132.3 kB / 0.852 GB, free: 15.17 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1314, allocations: 0 / 0.852 GB, free: 15.17 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001588/0.1315, allocations: 43.94 kB / 0.8521 GB, free: 15.12 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.M,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 3 ($whenCondition1,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 1 (periodicDose.pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.578e-05/0.1316, allocations: 100.1 kB / 0.8522 GB, free: 15.02 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.132, allocations: 337.6 kB / 0.8525 GB, free: 14.66 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.132, allocations: 0 / 0.8525 GB, free: 14.66 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1321, allocations: 183.8 kB / 0.8527 GB, free: 14.47 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.1323, allocations: 42.06 kB / 0.8527 GB, free: 14.43 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007419/0.1331, allocations: 0.5801 MB / 0.8533 GB, free: 13.9 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.294e-05/0.1331, allocations: 103.5 kB / 0.8534 GB, free: 13.77 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.1332, allocations: 23.44 kB / 0.8534 GB, free: 13.75 MB / 490.8 MB Notification: Performance of SimCode: time 6.42e-07/0.1332, allocations: 0 / 0.8534 GB, free: 13.75 MB / 490.8 MB Notification: Performance of Templates: time 0.2363/0.3695, allocations: 2.826 MB / 0.8562 GB, free: 29.3 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.104707267135382]