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.000861/0.000861, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000912/0.001773, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.0007171/0.0007171, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009443/0.001661, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9868/0.9868, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09447/1.081, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.7322/0.7322, allocations: 291.2 MB / 0.5226 GB, free: 52.91 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02889/0.7611, allocations: 21.04 MB / 0.5431 GB, free: 31.94 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.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.204e-06/2.204e-06, allocations: 0 / 0.5443 GB, free: 30.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.358e-05, allocations: 6.25 kB / 0.5443 GB, free: 30.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PD_Examples.PD_linear_effect): time 0.0032/0.003223, allocations: 2.174 MB / 0.5465 GB, free: 28.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009643/0.004188, allocations: 0.5453 MB / 0.547 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.004265, allocations: 0 / 0.547 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.238e-05/0.004317, allocations: 11.86 kB / 0.547 GB, free: 27.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.004484, allocations: 67.48 kB / 0.5471 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.004632, allocations: 43.94 kB / 0.5471 GB, free: 27.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.004886, allocations: 203.1 kB / 0.5473 GB, free: 27.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.005011, allocations: 30.61 kB / 0.5473 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.005247, allocations: 131.7 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.00537, allocations: 59.8 kB / 0.5475 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.005402, allocations: 16 kB / 0.5475 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.818e-05/0.00543, allocations: 12 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.005464, allocations: 23.94 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.005534, allocations: 43.94 kB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.005729, allocations: 111.5 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.799e-05/0.005747, allocations: 4 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.005749, allocations: 0 / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.005767, allocations: 0 / 0.5477 GB, free: 27.2 MB / 410.7 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.0007023/0.00647, allocations: 438.5 kB / 0.5481 GB, free: 26.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.006507, allocations: 15.89 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.006563, allocations: 24.92 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.006732, allocations: 146 kB / 0.5483 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.006756, allocations: 8.375 kB / 0.5483 GB, free: 26.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.006784, allocations: 16.36 kB / 0.5483 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.006986, allocations: 142.3 kB / 0.5485 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.007002, allocations: 7.891 kB / 0.5485 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.007014, allocations: 4 kB / 0.5485 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.007021, allocations: 4 kB / 0.5485 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.812e-05/0.00712, allocations: 65.66 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.007611, allocations: 307.1 kB / 0.5489 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.007748, allocations: 88.25 kB / 0.5489 GB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.007793, allocations: 62.53 kB / 0.549 GB, free: 25.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.007805, allocations: 3.938 kB / 0.549 GB, free: 25.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.00798, allocations: 191.2 kB / 0.5492 GB, free: 25.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.007982, allocations: 0 / 0.5492 GB, free: 25.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007081/0.00869, allocations: 0.4897 MB / 0.5497 GB, free: 25.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.00873, allocations: 136.5 kB / 0.5498 GB, free: 24.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/0.008818, allocations: 157.8 kB / 0.5499 GB, free: 24.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.008834, allocations: 33.7 kB / 0.55 GB, free: 24.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.00887, allocations: 108.5 kB / 0.5501 GB, free: 24.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.008912, allocations: 59.53 kB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.008974, allocations: 45.67 kB / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.691e-05/0.009011, allocations: 334.8 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.009078, allocations: 96.66 kB / 0.5506 GB, free: 23.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.853e-05/0.009166, allocations: 161.7 kB / 0.5507 GB, free: 23.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.009318, allocations: 203 kB / 0.5509 GB, free: 23.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.00932, allocations: 4 kB / 0.5509 GB, free: 23.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000214/0.009534, allocations: 250.8 kB / 0.5512 GB, free: 23.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.009582, allocations: 67.39 kB / 0.5512 GB, free: 23.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.009589, allocations: 4.156 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.009599, allocations: 4 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.009816, allocations: 55.91 kB / 0.5513 GB, free: 23.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.009821, allocations: 7.938 kB / 0.5513 GB, free: 23.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.009933, allocations: 15.98 kB / 0.5513 GB, free: 23.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.009958, allocations: 11.12 kB / 0.5513 GB, free: 23.09 MB / 410.7 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.0001297/0.01009, allocations: 170.2 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.01012, allocations: 15.98 kB / 0.5515 GB, free: 22.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.01015, allocations: 21.11 kB / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01016, allocations: 0 / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01016, allocations: 4 kB / 0.5515 GB, free: 22.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01016, allocations: 3.938 kB / 0.5515 GB, free: 22.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.01049, allocations: 356.6 kB / 0.5519 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.0105, allocations: 0 / 0.5519 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.01066, allocations: 39.97 kB / 0.5519 GB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.01069, allocations: 19.88 kB / 0.5519 GB, free: 22.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01069, allocations: 0 / 0.5519 GB, free: 22.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.01071, allocations: 11.94 kB / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.01071, allocations: 0 / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01071, allocations: 0 / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.01097, allocations: 332.5 kB / 0.5523 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.011, allocations: 4 kB / 0.5523 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.01112, allocations: 19.92 kB / 0.5523 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.01117, allocations: 20 kB / 0.5523 GB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.01119, allocations: 8 kB / 0.5523 GB, free: 22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.9e-05/0.01122, allocations: 36.81 kB / 0.5524 GB, free: 21.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01122, allocations: 0 / 0.5524 GB, free: 21.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000286/0.01151, allocations: 48 kB / 0.5524 GB, free: 21.92 MB / 410.7 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.000101/0.01161, allocations: 84.36 kB / 0.5525 GB, free: 21.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.01183, allocations: 300.7 kB / 0.5528 GB, free: 21.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.01184, allocations: 4 kB / 0.5528 GB, free: 21.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.742e-05/0.01193, allocations: 146.2 kB / 0.5529 GB, free: 21.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.01223, allocations: 62.14 kB / 0.553 GB, free: 21.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00687/0.0191, allocations: 0.4923 MB / 0.5535 GB, free: 20.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.22e-05/0.01915, allocations: 107.8 kB / 0.5536 GB, free: 20.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.01929, allocations: 103.3 kB / 0.5537 GB, free: 20.51 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01929, allocations: 0 / 0.5537 GB, free: 20.51 MB / 410.7 MB Notification: Performance of Templates: time 0.002392/0.02168, allocations: 2.3 MB / 0.5559 GB, free: 18.24 MB / 410.7 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 > Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0801591938361526]