Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.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.0006815/0.0006815, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008968/0.001578, allocations: 443.9 kB / 10.36 MB, free: 332 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.001035/0.001035, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008935/0.001929, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9316/0.9316, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0867/1.018, allocations: 53.67 MB / 243.3 MB, free: 15.58 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.7309/0.7309, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02992/0.7608, allocations: 21.04 MB / 0.5432 GB, free: 31.96 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.Clopidogrel.PD_dose_response,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response") translateModel(Pharmacolibrary.Examples.Clopidogrel.PD_dose_response,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.5445 GB, free: 30.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.259e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Clopidogrel.PD_dose_response): time 0.0009377/0.0009503, allocations: 0.6818 MB / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.932e-05/0.0009797, allocations: 19.92 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.59e-05/0.0009956, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.427e-06/0.000999, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.655e-06/0.001007, allocations: 7.875 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.694e-05/0.001034, allocations: 7.984 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.361e-05/0.001077, allocations: 15.98 kB / 0.5453 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.001117, allocations: 0 / 0.5453 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.001165, allocations: 19.92 kB / 0.5453 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.001217, allocations: 7.984 kB / 0.5453 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.001234, allocations: 0 / 0.5453 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.01e-06/0.001239, allocations: 0 / 0.5453 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.001254, allocations: 11.94 kB / 0.5453 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.001274, allocations: 4 kB / 0.5453 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.936e-05/0.001323, allocations: 7.984 kB / 0.5453 GB, free: 29.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.001332, allocations: 0 / 0.5453 GB, free: 29.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.001333, allocations: 3.938 kB / 0.5453 GB, free: 29.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.001342, allocations: 0 / 0.5453 GB, free: 29.81 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002665/0.001609, allocations: 247 kB / 0.5455 GB, free: 29.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.001644, allocations: 11.89 kB / 0.5456 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.001668, allocations: 4.938 kB / 0.5456 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.749e-05/0.001725, allocations: 109.8 kB / 0.5457 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.001734, allocations: 4.375 kB / 0.5457 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.001742, allocations: 4.312 kB / 0.5457 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.817e-05/0.0018, allocations: 42.25 kB / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-06/0.001805, allocations: 192 / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.001812, allocations: 384 / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.001816, allocations: 384 / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.001834, allocations: 11.92 kB / 0.5457 GB, free: 29.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.129e-05/0.001905, allocations: 65.05 kB / 0.5458 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.002047, allocations: 58.53 kB / 0.5458 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.346e-05/0.00206, allocations: 16.8 kB / 0.5459 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-06/0.002065, allocations: 0 / 0.5459 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.002079, allocations: 30.75 kB / 0.5459 GB, free: 29.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 6.72e-07/0.00208, allocations: 0 / 0.5459 GB, free: 29.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 7.75e-05/0.002157, allocations: 49.69 kB / 0.5459 GB, free: 29.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.372e-05/0.002171, allocations: 51.41 kB / 0.546 GB, free: 29.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.019e-05/0.002201, allocations: 105.8 kB / 0.5461 GB, free: 28.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-06/0.002206, allocations: 25.7 kB / 0.5461 GB, free: 28.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.546e-06/0.002214, allocations: 88.11 kB / 0.5462 GB, free: 28.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.002238, allocations: 19.84 kB / 0.5462 GB, free: 28.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.00226, allocations: 17.72 kB / 0.5462 GB, free: 28.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.809e-05/0.002288, allocations: 326.7 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.002295, allocations: 4 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.002303, allocations: 8 kB / 0.5466 GB, free: 28.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.006e-05/0.002323, allocations: 12.86 kB / 0.5466 GB, free: 28.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.002325, allocations: 4 kB / 0.5466 GB, free: 28.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 3.19e-05/0.002357, allocations: 41.69 kB / 0.5466 GB, free: 28.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.976e-06/0.002366, allocations: 4 kB / 0.5466 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.002369, allocations: 0 / 0.5466 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.00238, allocations: 3.984 kB / 0.5466 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.25e-05/0.002413, allocations: 15.88 kB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.002415, allocations: 4 kB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.161e-05/0.002426, allocations: 11.2 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-06/0.002429, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 2.893e-05/0.002458, allocations: 113.8 kB / 0.5468 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-06/0.002462, allocations: 4 kB / 0.5468 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.382e-05/0.002476, allocations: 7.812 kB / 0.5468 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.002479, allocations: 3.984 kB / 0.5468 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.002479, allocations: 0 / 0.5468 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-06/0.002484, allocations: 4 kB / 0.5468 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-06/0.002487, allocations: 0 / 0.5468 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-06/0.002494, allocations: 11.92 kB / 0.5468 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-06/0.002502, allocations: 0 / 0.5468 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-06/0.002512, allocations: 8 kB / 0.5468 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.895e-05/0.002551, allocations: 120.9 kB / 0.5469 GB, free: 28.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 4.669e-05/0.002597, allocations: 214.8 kB / 0.5471 GB, free: 27.78 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.64e-05/0.002614, allocations: 16.78 kB / 0.5471 GB, free: 27.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.214e-06/0.002621, allocations: 11.98 kB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of Backend: time 2e-07/0.002621, allocations: 0 / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.002767, allocations: 76.42 kB / 0.5472 GB, free: 27.66 MB / 410.7 MB Notification: Performance of SimCode: time 0.0001955/0.002963, allocations: 0.6028 MB / 0.5478 GB, free: 27.01 MB / 410.7 MB Notification: Performance of Templates: time 0.001665/0.004628, allocations: 0.7506 MB / 0.5485 GB, free: 26.27 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.139526106417179]