Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine.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.0019/0.0019, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 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.002061/0.002061, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.827/1.827, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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 1.452/1.452, allocations: 316.7 MB / 0.6144 GB, free: 93.37 MB / 410.7 MB " [Timeout remaining time 178] 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine") [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.003992/0.003992, allocations: 73.66 kB / 0.775 GB, free: 14.91 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1991, allocations: 73.99 MB / 0.8472 GB, free: 5.051 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine): time 0.004595/0.2036, allocations: 2.303 MB / 0.8495 GB, free: 2.75 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3194/0.5231, allocations: 6.52 MB / 0.8558 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.5232, allocations: 1.375 kB / 0.8558 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.5234, allocations: 25.7 kB / 0.8558 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.5236, allocations: 82.3 kB / 0.8559 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.5238, allocations: 52.73 kB / 0.856 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.524, allocations: 258.5 kB / 0.8562 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.5241, allocations: 36.56 kB / 0.8563 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.5242, allocations: 95.86 kB / 0.8564 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.5244, allocations: 102.9 kB / 0.8564 GB, free: 21.72 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.5244, allocations: 18.59 kB / 0.8565 GB, free: 21.72 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.704e-05/0.5245, allocations: 16.84 kB / 0.8565 GB, free: 21.72 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.188e-05/0.5245, allocations: 35.05 kB / 0.8565 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.285e-05/0.5246, allocations: 98.83 kB / 0.8566 GB, free: 21.68 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.5248, allocations: 197 kB / 0.8568 GB, free: 21.65 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5248, allocations: 0 / 0.8568 GB, free: 21.65 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5248, allocations: 0 / 0.8568 GB, free: 21.65 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.5248, allocations: 0 / 0.8568 GB, free: 21.65 MB / 490.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.0007101/0.5255, allocations: 0.49 MB / 0.8573 GB, free: 21.25 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.5255, allocations: 10.44 kB / 0.8573 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.5256, allocations: 28.28 kB / 0.8573 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.5258, allocations: 180.2 kB / 0.8575 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5258, allocations: 11.8 kB / 0.8575 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.5258, allocations: 21.64 kB / 0.8575 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.5261, allocations: 192.6 kB / 0.8577 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5262, allocations: 1.812 kB / 0.8577 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.5262, allocations: 6.188 kB / 0.8577 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.5262, allocations: 3.625 kB / 0.8577 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.5265, allocations: 147.7 kB / 0.8579 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006208/0.5271, allocations: 482.3 kB / 0.8583 GB, free: 20.67 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.5275, allocations: 172.2 kB / 0.8585 GB, free: 20.61 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.5277, allocations: 98.45 kB / 0.8586 GB, free: 20.57 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.5277, allocations: 4.562 kB / 0.8586 GB, free: 20.57 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.528, allocations: 222.4 kB / 0.8588 GB, free: 20.43 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.528, allocations: 0.5938 kB / 0.8588 GB, free: 20.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001341/0.5293, allocations: 0.6996 MB / 0.8595 GB, free: 20.07 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.5294, allocations: 139.3 kB / 0.8596 GB, free: 19.91 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.5296, allocations: 216 kB / 0.8598 GB, free: 19.8 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.5296, allocations: 32.42 kB / 0.8598 GB, free: 19.77 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.5297, allocations: 134.9 kB / 0.86 GB, free: 19.68 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.5297, allocations: 75.59 kB / 0.86 GB, free: 19.64 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.5298, allocations: 54.03 kB / 0.8601 GB, free: 19.62 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.5299, allocations: 339.2 kB / 0.8604 GB, free: 19.3 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.5301, allocations: 143.7 kB / 0.8606 GB, free: 19.23 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.5303, allocations: 222.1 kB / 0.8608 GB, free: 19.06 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.5306, allocations: 290.3 kB / 0.861 GB, free: 18.89 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.5306, allocations: 0 / 0.861 GB, free: 18.89 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005056/0.5311, allocations: 382.9 kB / 0.8614 GB, free: 18.71 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.5312, allocations: 61.16 kB / 0.8615 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.5312, allocations: 9.328 kB / 0.8615 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5312, allocations: 3.094 kB / 0.8615 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.5314, allocations: 54.77 kB / 0.8615 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5314, allocations: 4.25 kB / 0.8615 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.5316, allocations: 25.92 kB / 0.8616 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.5316, allocations: 10.83 kB / 0.8616 GB, free: 18.64 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.0001405/0.5317, allocations: 170.2 kB / 0.8617 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.5318, allocations: 29.64 kB / 0.8618 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.5318, allocations: 27.27 kB / 0.8618 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5318, allocations: 3.188 kB / 0.8618 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5318, allocations: 3.938 kB / 0.8618 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5318, allocations: 0.75 kB / 0.8618 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006389/0.5325, allocations: 0.539 MB / 0.8623 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5325, allocations: 0 / 0.8623 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.5327, allocations: 43.97 kB / 0.8624 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5327, allocations: 2.875 kB / 0.8624 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.5327, allocations: 1.391 kB / 0.8624 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.5327, allocations: 5.031 kB / 0.8624 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5327, allocations: 3.531 kB / 0.8624 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006379/0.5333, allocations: 0.4935 MB / 0.8629 GB, free: 17.91 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.5334, allocations: 25.19 kB / 0.8629 GB, free: 17.89 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.5334, allocations: 7.281 kB / 0.8629 GB, free: 17.89 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.5336, allocations: 13.84 kB / 0.8629 GB, free: 17.89 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.5336, allocations: 25.36 kB / 0.8629 GB, free: 17.89 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.5336, allocations: 8.922 kB / 0.8629 GB, free: 17.89 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001077/0.5338, allocations: 163.3 kB / 0.8631 GB, free: 17.81 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5338, allocations: 0.5938 kB / 0.8631 GB, free: 17.81 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002926/0.534, allocations: 52.72 kB / 0.8631 GB, free: 17.81 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.142e-05/0.5341, allocations: 114.8 kB / 0.8632 GB, free: 17.72 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004984/0.5346, allocations: 378.6 kB / 0.8636 GB, free: 17.49 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5346, allocations: 1.625 kB / 0.8636 GB, free: 17.49 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.5349, allocations: 170.9 kB / 0.8638 GB, free: 17.39 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.5353, allocations: 73.66 kB / 0.8638 GB, free: 17.39 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.5365, allocations: 0.6839 MB / 0.8645 GB, free: 17.07 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.5366, allocations: 124.1 kB / 0.8646 GB, free: 17 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.5367, allocations: 24.78 kB / 0.8647 GB, free: 17 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.5368, allocations: 23.61 kB / 0.8647 GB, free: 16.99 MB / 490.8 MB Notification: Performance of SimCode: time 4.41e-07/0.5368, allocations: 1.531 kB / 0.8647 GB, free: 16.99 MB / 490.8 MB Notification: Performance of Templates: time 0.007926/0.5447, allocations: 3.648 MB / 0.8682 GB, free: 16.66 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.11963377892971]