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.0006391/0.0006391, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008201/0.001459, allocations: 455.9 kB / 10.35 MB, free: 348 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.0006885/0.0006885, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009047/0.001593, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.8989/0.8989, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08296/0.9819, allocations: 53.65 MB / 243.3 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.6781/0.6781, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02815/0.7062, allocations: 21.05 MB / 0.5432 GB, free: 31.72 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.202e-06/1.202e-06, allocations: 0 / 0.5446 GB, free: 30.36 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.175e-06/9.377e-06, allocations: 2.312 kB / 0.5446 GB, free: 30.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Clopidogrel.PD_dose_response): time 0.0008328/0.0008421, allocations: 0.6785 MB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.312e-05/0.0008653, allocations: 15.94 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.435e-05/0.0008796, allocations: 0 / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.318e-06/0.0008839, allocations: 3.938 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.581e-06/0.0008895, allocations: 0 / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.482e-05/0.0009143, allocations: 3.984 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.095e-05/0.0009553, allocations: 23.92 kB / 0.5453 GB, free: 29.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.0009896, allocations: 4 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.786e-05/0.001027, allocations: 15.97 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.00107, allocations: 11.92 kB / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.001083, allocations: 0 / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-06/0.001088, allocations: 4 kB / 0.5453 GB, free: 29.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.001096, allocations: 3.938 kB / 0.5453 GB, free: 29.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.001115, allocations: 4 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.426e-05/0.001159, allocations: 11.92 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.001169, allocations: 0 / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.00117, allocations: 4 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.00118, allocations: 4 kB / 0.5454 GB, free: 29.57 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.000237/0.001417, allocations: 239 kB / 0.5456 GB, free: 29.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.524e-05/0.001442, allocations: 15.89 kB / 0.5456 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.665e-05/0.001459, allocations: 4.375 kB / 0.5456 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.555e-05/0.001504, allocations: 113.7 kB / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-06/0.001512, allocations: 384 / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-06/0.001519, allocations: 4.375 kB / 0.5457 GB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.188e-05/0.001571, allocations: 38.25 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.001578, allocations: 4.172 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-06/0.001583, allocations: 4.375 kB / 0.5458 GB, free: 29.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.001587, allocations: 4.375 kB / 0.5458 GB, free: 29.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.972e-05/0.001607, allocations: 11.88 kB / 0.5458 GB, free: 29.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.319e-05/0.00167, allocations: 65.05 kB / 0.5459 GB, free: 29.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.001799, allocations: 50.55 kB / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.001812, allocations: 8.859 kB / 0.5459 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.001818, allocations: 0 / 0.5459 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.00183, allocations: 38.75 kB / 0.5459 GB, free: 28.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 5.51e-07/0.001831, allocations: 3.938 kB / 0.546 GB, free: 28.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 7.4e-05/0.001905, allocations: 53.62 kB / 0.546 GB, free: 28.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.718e-05/0.001922, allocations: 51.41 kB / 0.5461 GB, free: 28.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.331e-05/0.001955, allocations: 110.7 kB / 0.5462 GB, free: 28.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-06/0.001959, allocations: 25.7 kB / 0.5462 GB, free: 28.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.384e-06/0.001967, allocations: 84.14 kB / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.001988, allocations: 19.83 kB / 0.5463 GB, free: 28.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.002009, allocations: 17.7 kB / 0.5463 GB, free: 28.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.537e-05/0.002034, allocations: 318.8 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.002045, allocations: 11.31 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-06/0.002053, allocations: 4 kB / 0.5466 GB, free: 28.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.965e-05/0.002073, allocations: 20.84 kB / 0.5466 GB, free: 28.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.002074, allocations: 0 / 0.5466 GB, free: 28.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 3.444e-05/0.002109, allocations: 45.62 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.002118, allocations: 8 kB / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.002122, allocations: 0 / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.00213, allocations: 0 / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.111e-05/0.002161, allocations: 8 kB / 0.5467 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.002163, allocations: 0 / 0.5467 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.125e-05/0.002174, allocations: 3.953 kB / 0.5467 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-06/0.002177, allocations: 4 kB / 0.5467 GB, free: 28.05 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.711e-05/0.002204, allocations: 117.8 kB / 0.5468 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-06/0.002208, allocations: 4 kB / 0.5468 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.684e-05/0.002225, allocations: 11.81 kB / 0.5468 GB, free: 27.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.002226, allocations: 0 / 0.5468 GB, free: 27.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.002228, allocations: 0 / 0.5468 GB, free: 27.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.00223, allocations: 3.938 kB / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.632e-05/0.002266, allocations: 69.84 kB / 0.5469 GB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.002267, allocations: 7.172 kB / 0.5469 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.002284, allocations: 8 kB / 0.5469 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.002289, allocations: 7.984 kB / 0.5469 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-07/0.002289, allocations: 0 / 0.5469 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.002294, allocations: 8 kB / 0.5469 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.002294, allocations: 0 / 0.5469 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.002295, allocations: 0 / 0.5469 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.785e-05/0.002333, allocations: 69.06 kB / 0.547 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-06/0.002339, allocations: 3.938 kB / 0.547 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-06/0.002347, allocations: 4 kB / 0.547 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.002358, allocations: 7.984 kB / 0.547 GB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-06/0.002359, allocations: 0 / 0.547 GB, free: 27.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.554e-06/0.002367, allocations: 12.8 kB / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.002367, allocations: 0 / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.421e-05/0.002451, allocations: 4 kB / 0.547 GB, free: 27.68 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 4.076e-05/0.002492, allocations: 76.42 kB / 0.5471 GB, free: 27.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.939e-05/0.002541, allocations: 32.53 kB / 0.5471 GB, free: 27.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.002547, allocations: 0 / 0.5471 GB, free: 27.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-05/0.00256, allocations: 12.86 kB / 0.5471 GB, free: 27.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.098e-05/0.002611, allocations: 15.88 kB / 0.5472 GB, free: 27.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001483/0.002759, allocations: 128.5 kB / 0.5473 GB, free: 27.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.697e-05/0.002776, allocations: 59.34 kB / 0.5473 GB, free: 27.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.788e-05/0.002794, allocations: 8 kB / 0.5473 GB, free: 27.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.002816, allocations: 47.38 kB / 0.5474 GB, free: 27.25 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.002817, allocations: 4 kB / 0.5474 GB, free: 27.24 MB / 410.7 MB Notification: Performance of Templates: time 0.001435/0.004251, allocations: 467 kB / 0.5478 GB, free: 26.79 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: 2.9267372973263264]