Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.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.001162/0.001162, 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.00127/0.00127, 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 0.9585/0.9585, 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.7408/0.7408, allocations: 312.3 MB / 0.6108 GB, free: 97.07 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.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=7862400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=7862400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab") [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.001449/0.001449, allocations: 77.56 kB / 0.7699 GB, free: 19.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.137, allocations: 73.98 MB / 0.8421 GB, free: 9.887 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab): time 0.003077/0.14, allocations: 2.32 MB / 0.8444 GB, free: 7.57 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.141, allocations: 0.5913 MB / 0.845 GB, free: 6.984 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.1411, allocations: 0 / 0.845 GB, free: 6.984 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.1412, allocations: 28.34 kB / 0.845 GB, free: 6.957 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.1414, allocations: 76.62 kB / 0.8451 GB, free: 6.883 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.1416, allocations: 55.86 kB / 0.8451 GB, free: 6.828 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.1418, allocations: 247.5 kB / 0.8454 GB, free: 6.586 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.142, allocations: 45 kB / 0.8454 GB, free: 6.543 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.1421, allocations: 91.64 kB / 0.8455 GB, free: 6.453 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.1423, allocations: 104.1 kB / 0.8456 GB, free: 6.352 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.1423, allocations: 20.75 kB / 0.8456 GB, free: 6.332 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.188e-05/0.1423, allocations: 16 kB / 0.8456 GB, free: 6.316 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.1424, allocations: 32.45 kB / 0.8457 GB, free: 6.285 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.074e-05/0.1424, allocations: 99.52 kB / 0.8458 GB, free: 6.188 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.1427, allocations: 191.8 kB / 0.8459 GB, free: 6 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1427, allocations: 4.656 kB / 0.8459 GB, free: 5.996 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1427, allocations: 0 / 0.8459 GB, free: 5.996 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1427, allocations: 0.625 kB / 0.8459 GB, free: 5.996 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.0007295/0.1434, allocations: 0.4903 MB / 0.8464 GB, free: 5.461 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1434, allocations: 8.656 kB / 0.8464 GB, free: 5.453 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.1435, allocations: 25.33 kB / 0.8465 GB, free: 5.43 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.1437, allocations: 183.1 kB / 0.8466 GB, free: 5.223 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1437, allocations: 17.11 kB / 0.8466 GB, free: 5.207 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.1438, allocations: 24.47 kB / 0.8467 GB, free: 5.184 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.1441, allocations: 186.9 kB / 0.8468 GB, free: 4.984 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1441, allocations: 8.562 kB / 0.8469 GB, free: 4.977 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1441, allocations: 4 kB / 0.8469 GB, free: 4.973 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1441, allocations: 8.531 kB / 0.8469 GB, free: 4.965 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.1444, allocations: 143.4 kB / 0.847 GB, free: 4.82 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006432/0.145, allocations: 482.6 kB / 0.8475 GB, free: 4.316 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.1454, allocations: 173.3 kB / 0.8476 GB, free: 4.133 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.1455, allocations: 95.11 kB / 0.8477 GB, free: 4.031 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.1455, allocations: 4.5 kB / 0.8477 GB, free: 4.027 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002704/0.1458, allocations: 225 kB / 0.8479 GB, free: 3.781 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.1458, allocations: 0.5938 kB / 0.8479 GB, free: 3.781 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.001103/0.1469, allocations: 0.7076 MB / 0.8486 GB, free: 3.016 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.147, allocations: 133.2 kB / 0.8488 GB, free: 2.855 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1471, allocations: 220 kB / 0.849 GB, free: 2.633 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1472, allocations: 38.28 kB / 0.849 GB, free: 2.59 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.1472, allocations: 129.2 kB / 0.8491 GB, free: 2.461 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.1473, allocations: 71.41 kB / 0.8492 GB, free: 2.391 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.1473, allocations: 58.34 kB / 0.8493 GB, free: 2.328 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.1474, allocations: 342.8 kB / 0.8496 GB, free: 1.984 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.1476, allocations: 145.6 kB / 0.8497 GB, free: 1.824 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.1478, allocations: 222.6 kB / 0.8499 GB, free: 1.562 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.1481, allocations: 282.8 kB / 0.8502 GB, free: 1.246 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1481, allocations: 4.656 kB / 0.8502 GB, free: 1.242 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004584/0.1486, allocations: 389.2 kB / 0.8506 GB, free: 0.8359 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.1486, allocations: 67.33 kB / 0.8506 GB, free: 0.7578 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1486, allocations: 0.7812 kB / 0.8506 GB, free: 0.7578 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1486, allocations: 4 kB / 0.8506 GB, free: 0.7539 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.1488, allocations: 53.69 kB / 0.8507 GB, free: 0.7031 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.1488, allocations: 7.938 kB / 0.8507 GB, free: 0.6953 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.1489, allocations: 15.98 kB / 0.8507 GB, free: 0.6797 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1489, allocations: 12 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.0001677/0.1491, allocations: 180.8 kB / 0.8509 GB, free: 492 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.1491, allocations: 23.8 kB / 0.8509 GB, free: 468 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.1492, allocations: 26.45 kB / 0.851 GB, free: 436 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1492, allocations: 6.375 kB / 0.851 GB, free: 432 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1492, allocations: 0 / 0.851 GB, free: 432 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1492, allocations: 0 / 0.851 GB, free: 432 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/0.1498, allocations: 0.5275 MB / 0.8515 GB, free: 15.85 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1498, allocations: 4 kB / 0.8515 GB, free: 15.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.1499, allocations: 42.19 kB / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1499, allocations: 0 / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1499, allocations: 8 kB / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1499, allocations: 3.938 kB / 0.8515 GB, free: 15.79 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1499, allocations: 3.938 kB / 0.8515 GB, free: 15.79 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.1505, allocations: 0.4902 MB / 0.852 GB, free: 15.27 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.1506, allocations: 24.83 kB / 0.852 GB, free: 15.24 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.1506, allocations: 7.938 kB / 0.852 GB, free: 15.23 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1507, allocations: 16.58 kB / 0.8521 GB, free: 15.22 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.1508, allocations: 19.97 kB / 0.8521 GB, free: 15.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1508, allocations: 12.73 kB / 0.8521 GB, free: 15.19 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1509, allocations: 151.4 kB / 0.8522 GB, free: 15.04 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1509, allocations: 0.5 kB / 0.8522 GB, free: 15.04 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000288/0.1512, allocations: 64.66 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 0.0001034/0.1513, allocations: 122.1 kB / 0.8524 GB, free: 14.85 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004151/0.1517, allocations: 377.7 kB / 0.8528 GB, free: 14.44 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1517, allocations: 2.5 kB / 0.8528 GB, free: 14.44 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.1519, allocations: 173 kB / 0.8529 GB, free: 14.25 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.1523, allocations: 57.97 kB / 0.853 GB, free: 14.2 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1533, allocations: 0.7061 MB / 0.8537 GB, free: 13.53 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.634e-05/0.1534, allocations: 125.6 kB / 0.8538 GB, free: 13.39 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.1534, allocations: 23.44 kB / 0.8538 GB, free: 13.36 MB / 490.8 MB Notification: Performance of SimCode: time 5.01e-07/0.1534, allocations: 0 / 0.8538 GB, free: 13.36 MB / 490.8 MB Notification: Performance of Templates: time 0.2382/0.3917, allocations: 2.933 MB / 0.8567 GB, free: 28.81 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.625754682347178]