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.001473/0.001473, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.00164/0.00164, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 0.9358/0.9358, allocations: 177.1 MB / 203.5 MB, free: 5.387 MB / 186.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.6414/0.6414, allocations: 291.2 MB / 0.5382 GB, free: 51.61 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.473e-06/1.473e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.737e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Clopidogrel.PD_dose_response): time 0.001085/0.001113, allocations: 0.6232 MB / 0.6979 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.376e-05/0.001157, allocations: 11.97 kB / 0.6979 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.001185, allocations: 0 / 0.6979 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.0012, allocations: 3.938 kB / 0.698 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.096e-05/0.001221, allocations: 0 / 0.698 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.855e-05/0.00128, allocations: 3.984 kB / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.415e-05/0.001334, allocations: 23.92 kB / 0.698 GB, free: 9.738 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.001387, allocations: 0 / 0.698 GB, free: 9.738 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.678e-05/0.001424, allocations: 11.98 kB / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.001476, allocations: 8 kB / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.001498, allocations: 3.984 kB / 0.698 GB, free: 9.715 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-06/0.001503, allocations: 7.938 kB / 0.698 GB, free: 9.707 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.001522, allocations: 7.922 kB / 0.698 GB, free: 9.699 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.001541, allocations: 4 kB / 0.698 GB, free: 9.695 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.217e-05/0.001593, allocations: 11.97 kB / 0.698 GB, free: 9.684 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.001596, allocations: 0 / 0.698 GB, free: 9.684 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.91e-07/0.001597, allocations: 0 / 0.698 GB, free: 9.684 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.001601, allocations: 0 / 0.698 GB, free: 9.684 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002945/0.001895, allocations: 266.3 kB / 0.6983 GB, free: 9.391 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.001941, allocations: 8.031 kB / 0.6983 GB, free: 9.383 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.001967, allocations: 4.938 kB / 0.6983 GB, free: 9.379 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.407e-05/0.002021, allocations: 105.8 kB / 0.6984 GB, free: 9.25 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.002033, allocations: 12.38 kB / 0.6984 GB, free: 9.238 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.002041, allocations: 384 / 0.6984 GB, free: 9.238 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.238e-05/0.002123, allocations: 42.25 kB / 0.6985 GB, free: 9.191 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.002131, allocations: 192 / 0.6985 GB, free: 9.191 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.002139, allocations: 384 / 0.6985 GB, free: 9.191 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.002144, allocations: 4.312 kB / 0.6985 GB, free: 9.188 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.436e-05/0.002189, allocations: 23.86 kB / 0.6985 GB, free: 9.164 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.352e-05/0.002282, allocations: 109.4 kB / 0.6986 GB, free: 9.027 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.002453, allocations: 58.64 kB / 0.6986 GB, free: 8.961 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.002475, allocations: 8.859 kB / 0.6986 GB, free: 8.949 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.002486, allocations: 4 kB / 0.6987 GB, free: 8.945 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.143e-05/0.002497, allocations: 34.69 kB / 0.6987 GB, free: 8.902 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 7.01e-07/0.002498, allocations: 3.938 kB / 0.6987 GB, free: 8.898 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001268/0.002625, allocations: 61.62 kB / 0.6987 GB, free: 8.832 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.002644, allocations: 55.41 kB / 0.6988 GB, free: 8.766 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.262e-05/0.002687, allocations: 105.8 kB / 0.6989 GB, free: 8.652 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-06/0.002692, allocations: 25.7 kB / 0.6989 GB, free: 8.621 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.201e-05/0.002704, allocations: 88.14 kB / 0.699 GB, free: 8.531 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.002732, allocations: 23.78 kB / 0.699 GB, free: 8.508 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.002753, allocations: 17.72 kB / 0.699 GB, free: 8.484 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.627e-05/0.002779, allocations: 318.8 kB / 0.6994 GB, free: 8.164 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.002793, allocations: 4 kB / 0.6994 GB, free: 8.16 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.204e-05/0.002805, allocations: 8 kB / 0.6994 GB, free: 8.152 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.002844, allocations: 32.78 kB / 0.6994 GB, free: 8.117 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.002846, allocations: 0.625 kB / 0.6994 GB, free: 8.117 MB / 410.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.876e-05/0.002895, allocations: 45.7 kB / 0.6994 GB, free: 8.066 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.002907, allocations: 8 kB / 0.6994 GB, free: 8.059 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.002912, allocations: 8.062 kB / 0.6995 GB, free: 8.051 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.002924, allocations: 0 / 0.6995 GB, free: 8.051 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.107e-05/0.002965, allocations: 11.98 kB / 0.6995 GB, free: 8.039 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.002969, allocations: 4 kB / 0.6995 GB, free: 8.035 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.309e-05/0.002982, allocations: 3.938 kB / 0.6995 GB, free: 8.031 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.002986, allocations: 0 / 0.6995 GB, free: 8.031 MB / 410.8 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.65e-05/0.003023, allocations: 110.4 kB / 0.6996 GB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-06/0.003026, allocations: 3.953 kB / 0.6996 GB, free: 7.91 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.478e-05/0.003041, allocations: 7.812 kB / 0.6996 GB, free: 7.906 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.003043, allocations: 4 kB / 0.6996 GB, free: 7.902 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.003046, allocations: 0 / 0.6996 GB, free: 7.902 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.003049, allocations: 11.88 kB / 0.6996 GB, free: 7.891 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.066e-05/0.00309, allocations: 109.2 kB / 0.6997 GB, free: 7.754 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.003092, allocations: 4 kB / 0.6997 GB, free: 7.75 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.003109, allocations: 4 kB / 0.6997 GB, free: 7.746 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.00311, allocations: 0 / 0.6997 GB, free: 7.746 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.003116, allocations: 4 kB / 0.6997 GB, free: 7.742 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.003117, allocations: 4 kB / 0.6997 GB, free: 7.738 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.003117, allocations: 0 / 0.6997 GB, free: 7.738 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.46e-05/0.003172, allocations: 77.06 kB / 0.6998 GB, free: 7.645 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-06/0.003177, allocations: 7.953 kB / 0.6998 GB, free: 7.637 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.003186, allocations: 4 kB / 0.6998 GB, free: 7.633 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-06/0.003195, allocations: 3.984 kB / 0.6998 GB, free: 7.629 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.003207, allocations: 7.984 kB / 0.6998 GB, free: 7.621 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.003209, allocations: 0 / 0.6998 GB, free: 7.621 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.371e-05/0.003223, allocations: 87.28 kB / 0.6999 GB, free: 7.535 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.003223, allocations: 0 / 0.6999 GB, free: 7.535 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001048/0.003327, allocations: 11.88 kB / 0.6999 GB, free: 7.523 MB / 410.8 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.826e-05/0.003386, allocations: 103.2 kB / 0.7 GB, free: 7.414 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.245e-05/0.003458, allocations: 24.19 kB / 0.7 GB, free: 7.391 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00346, allocations: 0 / 0.7 GB, free: 7.391 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.117e-05/0.003471, allocations: 19.94 kB / 0.7001 GB, free: 7.371 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.003578, allocations: 7.984 kB / 0.7001 GB, free: 7.363 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002018/0.003779, allocations: 138.6 kB / 0.7002 GB, free: 7.195 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.623e-05/0.003806, allocations: 63.34 kB / 0.7003 GB, free: 7.113 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.003828, allocations: 12.5 kB / 0.7003 GB, free: 7.102 MB / 410.8 MB Notification: Performance of SimCode: time 4.41e-07/0.003829, allocations: 0 / 0.7003 GB, free: 7.102 MB / 410.8 MB Notification: Performance of Templates: time 0.001217/0.005045, allocations: 0.5624 MB / 0.7008 GB, free: 6.539 MB / 410.8 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 > Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.162513972260058]