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.0009403/0.0009403, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002314, allocations: 435.8 kB / 10.31 MB, free: 384 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.001109/0.001109, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.002488, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.014/1.014, allocations: 177.1 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1038/1.117, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.7902/0.7902, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03281/0.823, allocations: 21.04 MB / 0.5431 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.874e-06/1.874e-06, allocations: 3.938 kB / 0.5445 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.943e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Clopidogrel.PD_dose_response): time 0.001136/0.001165, allocations: 0.6706 MB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.718e-05/0.001193, allocations: 19.92 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.689e-05/0.00121, allocations: 4 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.369e-06/0.001214, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.001221, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.811e-05/0.001249, allocations: 7.922 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.33e-05/0.001292, allocations: 19.92 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.001329, allocations: 4 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.809e-05/0.001377, allocations: 15.98 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.001428, allocations: 11.91 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.001447, allocations: 4 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.809e-06/0.001452, allocations: 0 / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.958e-06/0.001462, allocations: 4 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.001479, allocations: 4 kB / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.058e-05/0.001529, allocations: 15.92 kB / 0.5452 GB, free: 29.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.29e-05/0.001542, allocations: 0 / 0.5452 GB, free: 29.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.001543, allocations: 0 / 0.5452 GB, free: 29.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.001552, allocations: 0 / 0.5452 GB, free: 29.82 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.0002638/0.001815, allocations: 239 kB / 0.5455 GB, free: 29.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.001844, allocations: 11.89 kB / 0.5455 GB, free: 29.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.969e-05/0.001863, allocations: 4.938 kB / 0.5455 GB, free: 29.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.211e-05/0.001915, allocations: 113.7 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.001927, allocations: 11.69 kB / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.001934, allocations: 384 / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.77e-05/0.001991, allocations: 42.19 kB / 0.5456 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.001997, allocations: 192 / 0.5456 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-06/0.002002, allocations: 4.375 kB / 0.5456 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.002007, allocations: 384 / 0.5456 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.095e-05/0.002028, allocations: 7.938 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.177e-05/0.002099, allocations: 65.05 kB / 0.5457 GB, free: 29.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.002242, allocations: 50.55 kB / 0.5458 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.391e-05/0.002256, allocations: 12.86 kB / 0.5458 GB, free: 29.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.002263, allocations: 4 kB / 0.5458 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.159e-05/0.002275, allocations: 30.75 kB / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.002275, allocations: 3.938 kB / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 7.819e-05/0.002354, allocations: 49.69 kB / 0.5458 GB, free: 29.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.002372, allocations: 51.41 kB / 0.5459 GB, free: 29.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.074e-05/0.002403, allocations: 114.6 kB / 0.546 GB, free: 28.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-06/0.002407, allocations: 25.7 kB / 0.546 GB, free: 28.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-06/0.002414, allocations: 80.14 kB / 0.5461 GB, free: 28.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.002439, allocations: 23.83 kB / 0.5461 GB, free: 28.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.002459, allocations: 21.7 kB / 0.5462 GB, free: 28.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.94e-05/0.002488, allocations: 314.8 kB / 0.5465 GB, free: 28.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-06/0.002495, allocations: 4 kB / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/0.002503, allocations: 9.688 kB / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.002524, allocations: 24.77 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.002526, allocations: 0 / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 3e-05/0.002556, allocations: 45.69 kB / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.002565, allocations: 4 kB / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.002569, allocations: 0 / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.002577, allocations: 0 / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.365e-05/0.002611, allocations: 11.31 kB / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.002613, allocations: 4 kB / 0.5466 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.02e-05/0.002623, allocations: 3.953 kB / 0.5466 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-06/0.002626, allocations: 4 kB / 0.5466 GB, free: 28.3 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.942e-05/0.002655, allocations: 121.7 kB / 0.5467 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-06/0.002659, allocations: 4 kB / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.523e-05/0.002675, allocations: 7.812 kB / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.002676, allocations: 0 / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.002677, allocations: 0 / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.002679, allocations: 0 / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.842e-05/0.002717, allocations: 73.83 kB / 0.5468 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-07/0.002718, allocations: 4 kB / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.002734, allocations: 8 kB / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-06/0.002738, allocations: 4 kB / 0.5468 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-07/0.002739, allocations: 0 / 0.5468 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-06/0.002742, allocations: 4 kB / 0.5468 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-07/0.002742, allocations: 0 / 0.5468 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.002743, allocations: 0 / 0.5468 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.35e-05/0.002787, allocations: 80.97 kB / 0.5469 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-06/0.002793, allocations: 0 / 0.5469 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-06/0.002801, allocations: 0 / 0.5469 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.002812, allocations: 11.98 kB / 0.5469 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.002814, allocations: 11.25 kB / 0.5469 GB, free: 27.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.923e-06/0.002821, allocations: 8.859 kB / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.002821, allocations: 0 / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.784e-05/0.002909, allocations: 4 kB / 0.5469 GB, free: 27.93 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.151e-05/0.00296, allocations: 80.41 kB / 0.547 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.192e-05/0.003012, allocations: 20.86 kB / 0.547 GB, free: 27.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.003014, allocations: 0 / 0.547 GB, free: 27.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.776e-06/0.003023, allocations: 16.8 kB / 0.547 GB, free: 27.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.139e-05/0.003075, allocations: 7.938 kB / 0.547 GB, free: 27.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001626/0.003237, allocations: 136.4 kB / 0.5471 GB, free: 27.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.782e-05/0.003255, allocations: 59.34 kB / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.69e-05/0.003272, allocations: 0 / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.003297, allocations: 51.38 kB / 0.5472 GB, free: 27.5 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.003298, allocations: 0 / 0.5472 GB, free: 27.5 MB / 410.7 MB Notification: Performance of Templates: time 0.001453/0.004751, allocations: 466.9 kB / 0.5477 GB, free: 27.05 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.2747664861381054]