Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.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.002018/0.002018, allocations: 84.44 kB / 19.17 MB, free: 0.7422 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.002381/0.002381, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.617/1.617, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.585/1.585, allocations: 295.5 MB / 0.5417 GB, free: 47.44 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.Examples.PD_Examples.PD_linear_effect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect") translateModel(Pharmacolibrary.Examples.PD_Examples.PD_linear_effect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.7023 GB, free: 8.367 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.117e-05, allocations: 5.234 kB / 0.7023 GB, free: 8.363 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PD_Examples.PD_linear_effect): time 0.003426/0.003457, allocations: 2.037 MB / 0.7043 GB, free: 6.309 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.004487, allocations: 0.526 MB / 0.7048 GB, free: 5.777 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.196e-05/0.004579, allocations: 0 / 0.7048 GB, free: 5.777 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 6.853e-05/0.004648, allocations: 19.8 kB / 0.7048 GB, free: 5.758 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.004849, allocations: 55.56 kB / 0.7049 GB, free: 5.703 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.005016, allocations: 43.94 kB / 0.7049 GB, free: 5.66 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.005218, allocations: 207 kB / 0.7051 GB, free: 5.457 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.005355, allocations: 29.92 kB / 0.7052 GB, free: 5.426 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.005515, allocations: 107.8 kB / 0.7053 GB, free: 5.32 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.005622, allocations: 59.86 kB / 0.7053 GB, free: 5.262 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.005655, allocations: 16 kB / 0.7053 GB, free: 5.246 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.567e-05/0.005681, allocations: 15.94 kB / 0.7053 GB, free: 5.23 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.005716, allocations: 35.91 kB / 0.7054 GB, free: 5.195 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/0.005783, allocations: 55.84 kB / 0.7054 GB, free: 5.141 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.005972, allocations: 171.5 kB / 0.7056 GB, free: 4.973 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.005979, allocations: 4 kB / 0.7056 GB, free: 4.969 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.051e-06/0.00598, allocations: 0 / 0.7056 GB, free: 4.969 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.005985, allocations: 3.938 kB / 0.7056 GB, free: 4.965 MB / 410.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.0007264/0.006711, allocations: 445 kB / 0.706 GB, free: 4.488 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.006743, allocations: 8.031 kB / 0.706 GB, free: 4.48 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.006796, allocations: 16.84 kB / 0.7061 GB, free: 4.465 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.007103, allocations: 186 kB / 0.7062 GB, free: 4.258 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.007121, allocations: 12.38 kB / 0.7062 GB, free: 4.246 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.007152, allocations: 12.38 kB / 0.7063 GB, free: 4.234 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.007455, allocations: 152.4 kB / 0.7064 GB, free: 4.074 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.007468, allocations: 3.938 kB / 0.7064 GB, free: 4.07 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.007486, allocations: 11.98 kB / 0.7064 GB, free: 4.059 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.00749, allocations: 0 / 0.7064 GB, free: 4.059 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.007798, allocations: 133.5 kB / 0.7065 GB, free: 3.922 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/0.008488, allocations: 407.4 kB / 0.7069 GB, free: 3.488 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.00885, allocations: 156.2 kB / 0.7071 GB, free: 3.32 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.009005, allocations: 82.52 kB / 0.7072 GB, free: 3.23 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.009023, allocations: 7.984 kB / 0.7072 GB, free: 3.223 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003234/0.009346, allocations: 216.4 kB / 0.7074 GB, free: 2.98 MB / 410.8 MB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.009348, allocations: 3.938 kB / 0.7074 GB, free: 2.977 MB / 410.8 MB Notification: Performance of matching and sorting (n=19): time 0.001346/0.01069, allocations: 0.65 MB / 0.708 GB, free: 2.266 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.01074, allocations: 144.4 kB / 0.7082 GB, free: 2.094 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.01085, allocations: 167.2 kB / 0.7083 GB, free: 1.922 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.01087, allocations: 33.7 kB / 0.7083 GB, free: 1.883 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.01092, allocations: 112.5 kB / 0.7085 GB, free: 1.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.01096, allocations: 59.48 kB / 0.7085 GB, free: 1.711 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.01103, allocations: 45.7 kB / 0.7086 GB, free: 1.66 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.01108, allocations: 330.8 kB / 0.7089 GB, free: 1.328 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.01129, allocations: 132.7 kB / 0.709 GB, free: 1.184 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.0115, allocations: 212.3 kB / 0.7092 GB, free: 0.9375 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.01199, allocations: 303.9 kB / 0.7095 GB, free: 0.6016 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01199, allocations: 0 / 0.7095 GB, free: 0.6016 MB / 410.8 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000513/0.0125, allocations: 366.9 kB / 0.7098 GB, free: 220 kB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.01254, allocations: 63.39 kB / 0.7099 GB, free: 144 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.01255, allocations: 4 kB / 0.7099 GB, free: 140 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.01256, allocations: 0 / 0.7099 GB, free: 140 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.01278, allocations: 59.78 kB / 0.71 GB, free: 80 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.01279, allocations: 0 / 0.71 GB, free: 80 kB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.01295, allocations: 15.98 kB / 0.71 GB, free: 64 kB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.01297, allocations: 8 kB / 0.71 GB, free: 56 kB / 410.8 MB Warning: Assuming fixed start value for the following 2 variables: singleDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real linearEffect.Ce:VARIABLE(min = -1e-9 unit = \"kg/m3\" fixed = true ) \"effect site conc\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (ntcomp.Cmin,$PRE.ntcomp.Cmin,ntcomp.Cmax,$PRE.ntcomp.Cmax,ntcomp.rising,$PRE.ntcomp.rising,singleDose.pulse.count,$PRE.singleDose.pulse.count,singleDose.pulse.T_start,$PRE.singleDose.pulse.T_start,$whenCondition2,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0002562/0.01322, allocations: 183.5 kB / 0.7102 GB, free: 15.87 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.01326, allocations: 15.91 kB / 0.7102 GB, free: 15.85 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.495e-05/0.01331, allocations: 21.12 kB / 0.7102 GB, free: 15.83 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.01332, allocations: 4 kB / 0.7102 GB, free: 15.83 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.01333, allocations: 3.938 kB / 0.7102 GB, free: 15.82 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.01333, allocations: 3.984 kB / 0.7102 GB, free: 15.82 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009349/0.01427, allocations: 0.5014 MB / 0.7107 GB, free: 15.27 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01427, allocations: 0 / 0.7107 GB, free: 15.27 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.01448, allocations: 31.97 kB / 0.7107 GB, free: 15.24 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.01448, allocations: 0 / 0.7107 GB, free: 15.24 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.01451, allocations: 11.94 kB / 0.7107 GB, free: 15.23 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01451, allocations: 0 / 0.7107 GB, free: 15.23 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01451, allocations: 0 / 0.7107 GB, free: 15.23 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008864/0.0154, allocations: 469.5 kB / 0.7112 GB, free: 14.74 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.01543, allocations: 19.91 kB / 0.7112 GB, free: 14.72 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.01547, allocations: 11.97 kB / 0.7112 GB, free: 14.71 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.01565, allocations: 15.98 kB / 0.7112 GB, free: 14.69 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.01573, allocations: 15.92 kB / 0.7112 GB, free: 14.68 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.01575, allocations: 15.98 kB / 0.7113 GB, free: 14.66 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001211/0.01587, allocations: 119.2 kB / 0.7114 GB, free: 14.54 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01587, allocations: 0 / 0.7114 GB, free: 14.54 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003095/0.01618, allocations: 44 kB / 0.7114 GB, free: 14.5 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (linearEffect.Ce,singleDose.TotalCumulativeMass,ntcomp.C,ntcomp.AUC) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,singleDose.pulse.T_start,singleDose.pulse.count,ntcomp.Cmax,ntcomp.Cmin,ntcomp.rising) * Number of discrete states: 6 (singleDose.pulse.count,ntcomp.Cmin,$whenCondition2,ntcomp.Cmax,$whenCondition1,ntcomp.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * 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.0001545/0.01634, allocations: 111.2 kB / 0.7115 GB, free: 14.38 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006798/0.01701, allocations: 355.8 kB / 0.7119 GB, free: 13.99 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01702, allocations: 0 / 0.7119 GB, free: 13.99 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.01731, allocations: 161 kB / 0.712 GB, free: 13.81 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.01772, allocations: 59.73 kB / 0.7121 GB, free: 13.76 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.01883, allocations: 0.4916 MB / 0.7125 GB, free: 13.23 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.01897, allocations: 107.8 kB / 0.7127 GB, free: 13.11 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 7.811e-05/0.01904, allocations: 13.48 kB / 0.7127 GB, free: 13.09 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/0.01911, allocations: 20.5 kB / 0.7127 GB, free: 13.07 MB / 426.8 MB Notification: Performance of SimCode: time 6.52e-07/0.01911, allocations: 4 kB / 0.7127 GB, free: 13.07 MB / 426.8 MB Notification: Performance of Templates: time 0.006941/0.02605, allocations: 2.516 MB / 0.7151 GB, free: 10.63 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.017812574049458]