Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.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.001186/0.001186, allocations: 104.4 kB / 19.71 MB, free: 436 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.004877/0.004877, allocations: 215.5 kB / 23 MB, free: 2.938 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 1.073/1.073, 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.7829/0.7829, allocations: 312.3 MB / 0.6109 GB, free: 97.08 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.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine") translateModel(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine") [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.001515/0.001515, allocations: 77.44 kB / 0.7699 GB, free: 19.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1162, allocations: 73.99 MB / 0.8421 GB, free: 9.871 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine): time 0.002666/0.1188, allocations: 2.304 MB / 0.8444 GB, free: 7.57 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009277/0.1198, allocations: 0.5953 MB / 0.845 GB, free: 6.98 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1199, allocations: 4 kB / 0.845 GB, free: 6.977 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.12, allocations: 24.31 kB / 0.845 GB, free: 6.953 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.1202, allocations: 80.58 kB / 0.8451 GB, free: 6.875 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.1204, allocations: 47.95 kB / 0.8451 GB, free: 6.828 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.1206, allocations: 259.4 kB / 0.8454 GB, free: 6.574 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.1207, allocations: 33.14 kB / 0.8454 GB, free: 6.543 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1209, allocations: 99.62 kB / 0.8455 GB, free: 6.445 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.121, allocations: 96.28 kB / 0.8456 GB, free: 6.352 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.1211, allocations: 16 kB / 0.8456 GB, free: 6.336 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.431e-05/0.1211, allocations: 16.62 kB / 0.8456 GB, free: 6.32 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.1211, allocations: 44.45 kB / 0.8457 GB, free: 6.277 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.1212, allocations: 87.59 kB / 0.8457 GB, free: 6.191 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1214, allocations: 203.7 kB / 0.8459 GB, free: 5.992 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1214, allocations: 0.5 kB / 0.8459 GB, free: 5.992 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1214, allocations: 0 / 0.8459 GB, free: 5.992 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1214, allocations: 0.5 kB / 0.8459 GB, free: 5.992 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006921/0.1221, allocations: 498.8 kB / 0.8464 GB, free: 5.461 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1221, allocations: 16.02 kB / 0.8464 GB, free: 5.445 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.1222, allocations: 21.42 kB / 0.8465 GB, free: 5.426 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.1224, allocations: 183.2 kB / 0.8466 GB, free: 5.219 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1224, allocations: 9.188 kB / 0.8466 GB, free: 5.211 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.1224, allocations: 24.52 kB / 0.8467 GB, free: 5.188 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.1227, allocations: 187 kB / 0.8468 GB, free: 4.988 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1227, allocations: 3.938 kB / 0.8468 GB, free: 4.984 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1227, allocations: 8.484 kB / 0.8469 GB, free: 4.977 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1227, allocations: 4.594 kB / 0.8469 GB, free: 4.973 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.1229, allocations: 143.4 kB / 0.847 GB, free: 4.828 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.1235, allocations: 486 kB / 0.8475 GB, free: 4.32 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.1238, allocations: 177.4 kB / 0.8476 GB, free: 4.133 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1239, allocations: 97.83 kB / 0.8477 GB, free: 4.031 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.1239, allocations: 0 / 0.8477 GB, free: 4.031 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1241, allocations: 225.7 kB / 0.8479 GB, free: 3.781 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 2.485e-06/0.1241, allocations: 4.531 kB / 0.8479 GB, free: 3.777 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009441/0.1251, allocations: 0.7079 MB / 0.8486 GB, free: 3.012 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.1251, allocations: 136.5 kB / 0.8488 GB, free: 2.848 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.1253, allocations: 215.4 kB / 0.849 GB, free: 2.629 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1253, allocations: 34.3 kB / 0.849 GB, free: 2.59 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.1254, allocations: 132.5 kB / 0.8491 GB, free: 2.457 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.1254, allocations: 68.03 kB / 0.8492 GB, free: 2.391 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.1255, allocations: 62.39 kB / 0.8492 GB, free: 2.324 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.939e-05/0.1255, allocations: 334.8 kB / 0.8496 GB, free: 1.988 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1257, allocations: 145.5 kB / 0.8497 GB, free: 1.828 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.1259, allocations: 226.6 kB / 0.8499 GB, free: 1.562 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.1261, allocations: 282.8 kB / 0.8502 GB, free: 1.246 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1261, allocations: 0.5 kB / 0.8502 GB, free: 1.246 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003725/0.1265, allocations: 389 kB / 0.8506 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.1265, allocations: 63.97 kB / 0.8506 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1265, allocations: 4 kB / 0.8506 GB, free: 0.7617 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1265, allocations: 0.5938 kB / 0.8506 GB, free: 0.7617 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1267, allocations: 56.62 kB / 0.8507 GB, free: 0.707 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1267, allocations: 8.547 kB / 0.8507 GB, free: 0.6992 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.165e-05/0.1268, allocations: 24.7 kB / 0.8507 GB, free: 0.6758 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1268, allocations: 8 kB / 0.8507 GB, free: 0.668 MB / 474.8 MB Warning: Assuming fixed start value for the following 1 variables: 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001653/0.1269, allocations: 184.1 kB / 0.8509 GB, free: 488 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.127, allocations: 28.61 kB / 0.8509 GB, free: 460 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.127, allocations: 17.97 kB / 0.8509 GB, free: 436 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.127, allocations: 1.125 kB / 0.8509 GB, free: 436 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.127, allocations: 3.984 kB / 0.8509 GB, free: 432 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.127, allocations: 4 kB / 0.851 GB, free: 428 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.1275, allocations: 0.5327 MB / 0.8515 GB, free: 15.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1275, allocations: 0 / 0.8515 GB, free: 15.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.1276, allocations: 42.47 kB / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1276, allocations: 4 kB / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1276, allocations: 0 / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1276, allocations: 7.938 kB / 0.8515 GB, free: 15.79 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1276, allocations: 0 / 0.8515 GB, free: 15.79 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.1281, allocations: 498.1 kB / 0.852 GB, free: 15.27 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.1281, allocations: 15.86 kB / 0.852 GB, free: 15.25 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.1282, allocations: 13.66 kB / 0.852 GB, free: 15.24 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.1282, allocations: 19.92 kB / 0.852 GB, free: 15.22 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.1283, allocations: 23.95 kB / 0.8521 GB, free: 15.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.1283, allocations: 4 kB / 0.8521 GB, free: 15.2 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.465e-05/0.1284, allocations: 165.2 kB / 0.8522 GB, free: 15.04 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1284, allocations: 3.938 kB / 0.8522 GB, free: 15.03 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002043/0.1286, allocations: 57.09 kB / 0.8523 GB, free: 14.98 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 9.793e-05/0.1287, allocations: 115.6 kB / 0.8524 GB, free: 14.85 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.1291, allocations: 379.9 kB / 0.8528 GB, free: 14.44 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1291, allocations: 0.6562 kB / 0.8528 GB, free: 14.44 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.1292, allocations: 170.3 kB / 0.8529 GB, free: 14.26 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.1295, allocations: 74.56 kB / 0.853 GB, free: 14.19 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009265/0.1304, allocations: 0.6995 MB / 0.8537 GB, free: 13.53 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.029e-05/0.1305, allocations: 129.6 kB / 0.8538 GB, free: 13.39 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.1306, allocations: 23.44 kB / 0.8538 GB, free: 13.36 MB / 490.8 MB Notification: Performance of SimCode: time 6.12e-07/0.1306, allocations: 0 / 0.8538 GB, free: 13.36 MB / 490.8 MB Notification: Performance of Templates: time 0.2248/0.3554, allocations: 2.921 MB / 0.8567 GB, free: 28.83 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.167148244567215]