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.001216/0.001216, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001895/0.003111, allocations: 440 kB / 10.41 MB, free: 284 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.001121/0.001121, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00155/0.002671, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9781/0.9781, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08288/1.061, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7411/0.7411, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03046/0.7715, allocations: 21.05 MB / 0.5433 GB, free: 31.48 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.623e-06/1.623e-06, allocations: 0 / 0.5447 GB, free: 30.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.538e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Clopidogrel.PD_dose_response): time 0.00118/0.001205, allocations: 0.69 MB / 0.5453 GB, free: 29.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.726e-05/0.001232, allocations: 7.938 kB / 0.5453 GB, free: 29.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.001249, allocations: 0 / 0.5453 GB, free: 29.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.799e-06/0.001254, allocations: 3.938 kB / 0.5454 GB, free: 29.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.903e-06/0.001261, allocations: 4 kB / 0.5454 GB, free: 29.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.81e-05/0.001289, allocations: 7.984 kB / 0.5454 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.099e-05/0.00134, allocations: 15.92 kB / 0.5454 GB, free: 29.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.001381, allocations: 3.984 kB / 0.5454 GB, free: 29.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.866e-05/0.00143, allocations: 15.98 kB / 0.5454 GB, free: 29.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.001481, allocations: 11.92 kB / 0.5454 GB, free: 29.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.001499, allocations: 3.938 kB / 0.5454 GB, free: 29.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.18e-06/0.001504, allocations: 4 kB / 0.5454 GB, free: 29.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.001519, allocations: 4 kB / 0.5454 GB, free: 29.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.001538, allocations: 4 kB / 0.5454 GB, free: 29.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.399e-05/0.001592, allocations: 11.92 kB / 0.5454 GB, free: 29.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.26e-05/0.001605, allocations: 0 / 0.5454 GB, free: 29.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.001606, allocations: 0 / 0.5454 GB, free: 29.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.001613, allocations: 0 / 0.5454 GB, free: 29.3 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.0002752/0.001888, allocations: 243 kB / 0.5457 GB, free: 29.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.001917, allocations: 11.89 kB / 0.5457 GB, free: 29.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.136e-05/0.001939, allocations: 4.938 kB / 0.5457 GB, free: 29.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.076e-05/0.001999, allocations: 113.8 kB / 0.5458 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.002007, allocations: 384 / 0.5458 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.002019, allocations: 12.36 kB / 0.5458 GB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.196e-05/0.002081, allocations: 30.27 kB / 0.5458 GB, free: 28.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-06/0.002086, allocations: 192 / 0.5458 GB, free: 28.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.002092, allocations: 4.359 kB / 0.5458 GB, free: 28.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-06/0.002096, allocations: 384 / 0.5458 GB, free: 28.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.972e-05/0.002116, allocations: 19.88 kB / 0.5459 GB, free: 28.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.271e-05/0.002189, allocations: 60.48 kB / 0.5459 GB, free: 28.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.002353, allocations: 66.52 kB / 0.546 GB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.002367, allocations: 13.05 kB / 0.546 GB, free: 28.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.732e-06/0.002374, allocations: 0 / 0.546 GB, free: 28.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.002386, allocations: 34.56 kB / 0.546 GB, free: 28.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 6.91e-07/0.002387, allocations: 0 / 0.546 GB, free: 28.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 8.393e-05/0.002471, allocations: 49.62 kB / 0.5461 GB, free: 28.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.558e-05/0.002487, allocations: 51.41 kB / 0.5461 GB, free: 28.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.373e-05/0.00252, allocations: 102.7 kB / 0.5462 GB, free: 28.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-06/0.002525, allocations: 29.7 kB / 0.5462 GB, free: 28.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-06/0.002533, allocations: 88.12 kB / 0.5463 GB, free: 28.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.002556, allocations: 11.84 kB / 0.5463 GB, free: 28.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.00258, allocations: 29.64 kB / 0.5464 GB, free: 28.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.714e-05/0.002607, allocations: 322.8 kB / 0.5467 GB, free: 27.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-06/0.002614, allocations: 4 kB / 0.5467 GB, free: 27.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-06/0.002621, allocations: 0 / 0.5467 GB, free: 27.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.002644, allocations: 24.78 kB / 0.5467 GB, free: 27.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.002646, allocations: 0 / 0.5467 GB, free: 27.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 3.572e-05/0.002682, allocations: 45.06 kB / 0.5467 GB, free: 27.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.002692, allocations: 4 kB / 0.5468 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.002696, allocations: 0 / 0.5468 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.002706, allocations: 4 kB / 0.5468 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.142e-05/0.002748, allocations: 16 kB / 0.5468 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.00275, allocations: 0 / 0.5468 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.252e-05/0.002763, allocations: 3.953 kB / 0.5468 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-06/0.002765, allocations: 0 / 0.5468 GB, free: 27.79 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 3.075e-05/0.002796, allocations: 113.8 kB / 0.5469 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-06/0.002801, allocations: 3.984 kB / 0.5469 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/0.002817, allocations: 11.75 kB / 0.5469 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.002819, allocations: 4 kB / 0.5469 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.00282, allocations: 0 / 0.5469 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.002822, allocations: 0 / 0.5469 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.69e-05/0.002869, allocations: 77.83 kB / 0.547 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.00287, allocations: 4 kB / 0.547 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.002888, allocations: 11.98 kB / 0.547 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-06/0.002892, allocations: 0 / 0.547 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.11e-07/0.002893, allocations: 0 / 0.547 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-06/0.002897, allocations: 4 kB / 0.547 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.002897, allocations: 0 / 0.547 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.002898, allocations: 0 / 0.547 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.898e-05/0.002947, allocations: 69.06 kB / 0.5471 GB, free: 27.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-06/0.002954, allocations: 7.188 kB / 0.5471 GB, free: 27.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-06/0.002962, allocations: 0 / 0.5471 GB, free: 27.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.002972, allocations: 7.922 kB / 0.5471 GB, free: 27.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.002974, allocations: 8 kB / 0.5471 GB, free: 27.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.485e-06/0.002982, allocations: 8.859 kB / 0.5471 GB, free: 27.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002983, allocations: 0 / 0.5471 GB, free: 27.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.356e-05/0.003066, allocations: 4 kB / 0.5471 GB, free: 27.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 5.191e-05/0.003118, allocations: 80.36 kB / 0.5472 GB, free: 27.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.843e-05/0.003176, allocations: 20.84 kB / 0.5472 GB, free: 27.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.003182, allocations: 4 kB / 0.5472 GB, free: 27.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.426e-05/0.003196, allocations: 16.84 kB / 0.5472 GB, free: 27.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.944e-05/0.003276, allocations: 19.86 kB / 0.5472 GB, free: 27.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001618/0.003438, allocations: 132.5 kB / 0.5474 GB, free: 27.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.742e-05/0.003455, allocations: 51.36 kB / 0.5474 GB, free: 27.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.136e-05/0.003476, allocations: 7.938 kB / 0.5474 GB, free: 27.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.003509, allocations: 51.38 kB / 0.5475 GB, free: 26.97 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.003509, allocations: 0 / 0.5475 GB, free: 26.97 MB / 410.7 MB Notification: Performance of Templates: time 0.001653/0.005162, allocations: 438.3 kB / 0.5479 GB, free: 26.55 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 > Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.187332912348211]