Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference.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.001004/0.001004, 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.001062/0.001062, allocations: 215 kB / 23 MB, free: 2.949 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.01/1.01, allocations: 230.7 MB / 256.8 MB, free: 9.617 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.7112/0.7112, allocations: 312.3 MB / 0.6109 GB, free: 97.8 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.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference") [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.001627/0.001627, allocations: 73.78 kB / 0.7699 GB, free: 20.48 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1393, allocations: 73.99 MB / 0.8421 GB, free: 10.62 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference): time 0.002886/0.1421, allocations: 2.3 MB / 0.8444 GB, free: 8.324 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00491/0.147, allocations: 6.529 MB / 0.8508 GB, free: 1.793 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1471, allocations: 3.938 kB / 0.8508 GB, free: 1.789 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.1473, allocations: 24.41 kB / 0.8508 GB, free: 1.766 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.1475, allocations: 80.48 kB / 0.8509 GB, free: 1.688 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.1477, allocations: 52.59 kB / 0.8509 GB, free: 1.637 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.1479, allocations: 254.7 kB / 0.8512 GB, free: 1.387 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.1481, allocations: 41.19 kB / 0.8512 GB, free: 1.348 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1482, allocations: 96.09 kB / 0.8513 GB, free: 1.254 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.1483, allocations: 96.16 kB / 0.8514 GB, free: 1.16 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.1484, allocations: 19.94 kB / 0.8514 GB, free: 1.141 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.608e-05/0.1484, allocations: 20.5 kB / 0.8514 GB, free: 1.121 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.241e-05/0.1484, allocations: 28.64 kB / 0.8514 GB, free: 1.094 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.419e-05/0.1485, allocations: 95.52 kB / 0.8515 GB, free: 1 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1487, allocations: 199.7 kB / 0.8517 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1487, allocations: 0 / 0.8517 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1487, allocations: 4.688 kB / 0.8517 GB, free: 0.8008 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1487, allocations: 0.7188 kB / 0.8517 GB, free: 0.8008 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.0006625/0.1494, allocations: 0.4923 MB / 0.8522 GB, free: 272 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1494, allocations: 8.625 kB / 0.8522 GB, free: 264 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.1495, allocations: 24.8 kB / 0.8522 GB, free: 240 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.1497, allocations: 183.6 kB / 0.8524 GB, free: 28 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1497, allocations: 13.23 kB / 0.8524 GB, free: 16 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.1497, allocations: 20.09 kB / 0.8524 GB, free: 15.99 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.15, allocations: 187 kB / 0.8526 GB, free: 15.79 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.15, allocations: 4.5 kB / 0.8526 GB, free: 15.79 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.15, allocations: 4.719 kB / 0.8526 GB, free: 15.79 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.15, allocations: 4 kB / 0.8526 GB, free: 15.78 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.1502, allocations: 147.3 kB / 0.8528 GB, free: 15.63 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.1507, allocations: 490.6 kB / 0.8532 GB, free: 15.12 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.151, allocations: 173.5 kB / 0.8534 GB, free: 14.94 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.1512, allocations: 99.14 kB / 0.8535 GB, free: 14.83 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.1512, allocations: 4 kB / 0.8535 GB, free: 14.83 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.1514, allocations: 225.8 kB / 0.8537 GB, free: 14.58 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.1514, allocations: 0 / 0.8537 GB, free: 14.58 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001051/0.1525, allocations: 0.7003 MB / 0.8544 GB, free: 13.82 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.1525, allocations: 133.1 kB / 0.8545 GB, free: 13.66 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1527, allocations: 223.6 kB / 0.8547 GB, free: 13.43 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1527, allocations: 33.7 kB / 0.8548 GB, free: 13.39 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/0.1528, allocations: 133 kB / 0.8549 GB, free: 13.26 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.1529, allocations: 67.42 kB / 0.855 GB, free: 13.19 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.1529, allocations: 62.22 kB / 0.855 GB, free: 13.12 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.153, allocations: 335.4 kB / 0.8554 GB, free: 12.79 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.1532, allocations: 145.7 kB / 0.8555 GB, free: 12.63 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.1534, allocations: 222 kB / 0.8557 GB, free: 12.37 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2733/0.4267, allocations: 274.8 kB / 0.856 GB, free: 30.36 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4267, allocations: 0.5312 kB / 0.856 GB, free: 30.36 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004588/0.4271, allocations: 396.6 kB / 0.8563 GB, free: 30.2 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.4272, allocations: 59.94 kB / 0.8564 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.4272, allocations: 6.031 kB / 0.8564 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.4272, allocations: 4.969 kB / 0.8564 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.4273, allocations: 56.62 kB / 0.8565 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4273, allocations: 2.281 kB / 0.8565 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.4275, allocations: 18.06 kB / 0.8565 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.4275, allocations: 9.156 kB / 0.8565 GB, free: 30.14 MB / 490.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.0001795/0.4277, allocations: 170.9 kB / 0.8567 GB, free: 29.99 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.4277, allocations: 29.28 kB / 0.8567 GB, free: 29.99 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.4277, allocations: 27.16 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.4277, allocations: 2.344 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.4277, allocations: 0.5312 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4277, allocations: 1.547 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.4283, allocations: 0.537 MB / 0.8572 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4283, allocations: 8.938 kB / 0.8572 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.4284, allocations: 31.31 kB / 0.8573 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.4284, allocations: 0.625 kB / 0.8573 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.4284, allocations: 7.359 kB / 0.8573 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.4284, allocations: 11.48 kB / 0.8573 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4284, allocations: 0 / 0.8573 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.4289, allocations: 499.6 kB / 0.8578 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.429, allocations: 21.62 kB / 0.8578 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.429, allocations: 8.188 kB / 0.8578 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.109e-05/0.4291, allocations: 22.36 kB / 0.8578 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/0.4292, allocations: 22.77 kB / 0.8578 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.4292, allocations: 5.219 kB / 0.8578 GB, free: 29.46 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001009/0.4293, allocations: 160.4 kB / 0.858 GB, free: 29.38 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4293, allocations: 0 / 0.858 GB, free: 29.38 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002001/0.4295, allocations: 52.66 kB / 0.8581 GB, free: 29.38 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.723e-05/0.4296, allocations: 121.9 kB / 0.8582 GB, free: 29.29 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.43, allocations: 377.4 kB / 0.8585 GB, free: 29.07 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.43, allocations: 3.5 kB / 0.8585 GB, free: 29.07 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.4301, allocations: 167 kB / 0.8587 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.4304, allocations: 63.64 kB / 0.8588 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009554/0.4314, allocations: 0.7045 MB / 0.8594 GB, free: 28.67 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.452e-05/0.4314, allocations: 130.3 kB / 0.8596 GB, free: 28.59 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.4315, allocations: 21.44 kB / 0.8596 GB, free: 28.59 MB / 490.8 MB Notification: Performance of SimCode: time 1.082e-06/0.4315, allocations: 4.531 kB / 0.8596 GB, free: 28.59 MB / 490.8 MB Notification: Performance of Templates: time 0.004535/0.436, allocations: 2.949 MB / 0.8625 GB, free: 28.36 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0876234490424395]