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.00079/0.00079, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009268/0.001717, allocations: 443.8 kB / 10.3 MB, free: 400 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.00073/0.00073, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008935/0.001624, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.015/1.015, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07658/1.091, allocations: 53.65 MB / 243.2 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.7239/0.7239, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02797/0.7519, 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.363e-06/1.363e-06, allocations: 0 / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.36e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Clopidogrel.PD_dose_response): time 0.001191/0.001205, allocations: 0.6812 MB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.119e-05/0.001236, allocations: 7.938 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.688e-05/0.001253, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.789e-06/0.001258, allocations: 3.938 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.875e-06/0.001265, allocations: 0 / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.869e-05/0.001294, allocations: 11.97 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.907e-05/0.001343, allocations: 23.92 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.001381, allocations: 4 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.094e-05/0.001431, allocations: 11.98 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.218e-05/0.001484, allocations: 19.86 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.001507, allocations: 0 / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-06/0.001513, allocations: 4 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.001523, allocations: 0 / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.832e-05/0.001542, allocations: 4 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.256e-05/0.001594, allocations: 11.92 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.524e-05/0.00161, allocations: 3.938 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00161, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.001623, allocations: 8 kB / 0.5452 GB, free: 29.84 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.0002973/0.00192, allocations: 231.1 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.001948, allocations: 15.89 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.001971, allocations: 0.9375 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.538e-05/0.002026, allocations: 113.7 kB / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.00204, allocations: 4.375 kB / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.002049, allocations: 8.359 kB / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.222e-05/0.002111, allocations: 35.89 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.002118, allocations: 192 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.002124, allocations: 8.359 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.00213, allocations: 8.375 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.00215, allocations: 7.938 kB / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.579e-05/0.002226, allocations: 57.05 kB / 0.5457 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.002392, allocations: 58.53 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/0.00241, allocations: 13.05 kB / 0.5457 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.002417, allocations: 0 / 0.5457 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00302/0.005437, allocations: 38.5 kB / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.005438, allocations: 0 / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001001/0.005538, allocations: 53 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.005559, allocations: 55.41 kB / 0.5459 GB, free: 29.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.728e-05/0.005596, allocations: 110.7 kB / 0.546 GB, free: 28.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.623e-06/0.005603, allocations: 25.7 kB / 0.546 GB, free: 28.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-06/0.005611, allocations: 80.14 kB / 0.5461 GB, free: 28.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.005637, allocations: 15.84 kB / 0.5461 GB, free: 28.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.005668, allocations: 21.7 kB / 0.5461 GB, free: 28.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.01e-05/0.005698, allocations: 318.8 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-06/0.005707, allocations: 4 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/0.005717, allocations: 7.938 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.737e-05/0.005745, allocations: 16.84 kB / 0.5464 GB, free: 28.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005746, allocations: 4 kB / 0.5464 GB, free: 28.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.669e-05/0.005793, allocations: 49.67 kB / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.005805, allocations: 10.81 kB / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.005809, allocations: 0 / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.005818, allocations: 3.938 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.537e-05/0.005863, allocations: 11.31 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.005866, allocations: 0 / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.005882, allocations: 7.891 kB / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.005886, allocations: 0 / 0.5465 GB, free: 28.33 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.506e-05/0.005921, allocations: 113.8 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/0.005928, allocations: 7.984 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.881e-05/0.005947, allocations: 11.81 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005948, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.00595, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.005952, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.413e-05/0.006006, allocations: 77.83 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.006007, allocations: 0 / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.006032, allocations: 11.98 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-06/0.006037, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.006038, allocations: 4 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-06/0.006042, allocations: 0 / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.006044, allocations: 7.125 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006045, allocations: 0 / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.222e-05/0.006097, allocations: 77 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.006105, allocations: 0 / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.156e-05/0.006116, allocations: 0 / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.006128, allocations: 7.984 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.00613, allocations: 0 / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.508e-06/0.006139, allocations: 11.98 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006139, allocations: 0 / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001458/0.006285, allocations: 8 kB / 0.5468 GB, free: 27.96 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.92e-05/0.006344, allocations: 76.42 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.879e-05/0.006403, allocations: 24.83 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.006406, allocations: 7.938 kB / 0.547 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.153e-05/0.006417, allocations: 12.86 kB / 0.547 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.119e-05/0.006478, allocations: 7.938 kB / 0.547 GB, free: 27.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002034/0.006682, allocations: 154.2 kB / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.426e-05/0.006706, allocations: 63.34 kB / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.006738, allocations: 51.38 kB / 0.5472 GB, free: 27.5 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006739, allocations: 4 kB / 0.5472 GB, free: 27.49 MB / 410.7 MB Notification: Performance of Templates: time 0.001174/0.007913, allocations: 0.5667 MB / 0.5478 GB, free: 26.93 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 > Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.968465719372034]