Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.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.001771/0.001771, 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.00157/0.00157, 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.8903/0.8903, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.6453/0.6453, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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.NonDrugs.T_toxic_hazardous.Heparin.Heparin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6974 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.001e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin): time 0.001585/0.001605, allocations: 1.833 MB / 0.6991 GB, free: 8.562 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006021/0.002207, allocations: 0.546 MB / 0.6997 GB, free: 8.012 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.002257, allocations: 0 / 0.6997 GB, free: 8.012 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.688e-05/0.002344, allocations: 15.86 kB / 0.6997 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.002638, allocations: 71.47 kB / 0.6998 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.002757, allocations: 67.66 kB / 0.6998 GB, free: 7.863 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.002909, allocations: 167.3 kB / 0.7 GB, free: 7.699 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.00295, allocations: 5.312 kB / 0.7 GB, free: 7.695 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.003048, allocations: 91.78 kB / 0.7001 GB, free: 7.605 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.003226, allocations: 83.75 kB / 0.7002 GB, free: 7.523 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.003246, allocations: 4 kB / 0.7002 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.561e-05/0.003262, allocations: 8 kB / 0.7002 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.003307, allocations: 27.91 kB / 0.7002 GB, free: 7.484 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.003352, allocations: 43.84 kB / 0.7002 GB, free: 7.441 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.003458, allocations: 107.7 kB / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.00346, allocations: 4 kB / 0.7003 GB, free: 7.332 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003461, allocations: 0 / 0.7003 GB, free: 7.332 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.003465, allocations: 0 / 0.7003 GB, free: 7.332 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004707/0.003935, allocations: 387.5 kB / 0.7007 GB, free: 6.918 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.003964, allocations: 12.03 kB / 0.7007 GB, free: 6.906 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.004001, allocations: 12.84 kB / 0.7007 GB, free: 6.895 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.004118, allocations: 146.1 kB / 0.7009 GB, free: 6.727 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.004129, allocations: 12.38 kB / 0.7009 GB, free: 6.715 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.004149, allocations: 8.375 kB / 0.7009 GB, free: 6.707 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.004295, allocations: 106.2 kB / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.004302, allocations: 3.938 kB / 0.701 GB, free: 6.594 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.004312, allocations: 0 / 0.701 GB, free: 6.594 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.004316, allocations: 4 kB / 0.701 GB, free: 6.59 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.004454, allocations: 83.86 kB / 0.7011 GB, free: 6.508 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.004744, allocations: 284.4 kB / 0.7014 GB, free: 6.199 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.004951, allocations: 134.4 kB / 0.7015 GB, free: 6.059 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.005026, allocations: 52.81 kB / 0.7015 GB, free: 6.004 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.00504, allocations: 7.938 kB / 0.7015 GB, free: 5.996 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.005183, allocations: 111.3 kB / 0.7017 GB, free: 5.875 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 9.12e-07/0.005184, allocations: 0 / 0.7017 GB, free: 5.875 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0002983/0.005482, allocations: 201.9 kB / 0.7018 GB, free: 5.672 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.815e-05/0.0055, allocations: 55.41 kB / 0.7019 GB, free: 5.605 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.005574, allocations: 159.5 kB / 0.7021 GB, free: 5.441 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.005588, allocations: 25.7 kB / 0.7021 GB, free: 5.41 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.005627, allocations: 108.1 kB / 0.7022 GB, free: 5.301 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.005647, allocations: 43.64 kB / 0.7022 GB, free: 5.258 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.005686, allocations: 37.7 kB / 0.7023 GB, free: 5.215 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.762e-05/0.005713, allocations: 322.8 kB / 0.7026 GB, free: 4.891 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.005802, allocations: 81.66 kB / 0.7026 GB, free: 4.805 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.005907, allocations: 206 kB / 0.7028 GB, free: 4.566 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.006052, allocations: 141 kB / 0.703 GB, free: 4.422 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006054, allocations: 7.938 kB / 0.703 GB, free: 4.414 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002055/0.006259, allocations: 240.8 kB / 0.7032 GB, free: 4.16 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.006276, allocations: 29.7 kB / 0.7032 GB, free: 4.125 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.00628, allocations: 0 / 0.7032 GB, free: 4.125 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.006289, allocations: 8 kB / 0.7032 GB, free: 4.117 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.006373, allocations: 31.92 kB / 0.7033 GB, free: 4.086 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.006377, allocations: 0 / 0.7033 GB, free: 4.086 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.369e-05/0.006451, allocations: 19.91 kB / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.00646, allocations: 8 kB / 0.7033 GB, free: 4.059 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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 4.816e-05/0.006508, allocations: 122.4 kB / 0.7034 GB, free: 3.93 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.006519, allocations: 11.91 kB / 0.7034 GB, free: 3.918 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.006721, allocations: 174.3 kB / 0.7036 GB, free: 3.746 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006722, allocations: 4 kB / 0.7036 GB, free: 3.742 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.006725, allocations: 0 / 0.7036 GB, free: 3.742 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.006729, allocations: 3.984 kB / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.912e-05/0.006798, allocations: 153.2 kB / 0.7038 GB, free: 3.559 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006799, allocations: 3.938 kB / 0.7038 GB, free: 3.555 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.006872, allocations: 23.98 kB / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006874, allocations: 0 / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.006882, allocations: 0 / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006883, allocations: 0 / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006884, allocations: 4 kB / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.007153, allocations: 260.2 kB / 0.704 GB, free: 3.258 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.007169, allocations: 15.88 kB / 0.704 GB, free: 3.242 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.007186, allocations: 0 / 0.704 GB, free: 3.242 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.249e-05/0.007238, allocations: 23.91 kB / 0.7041 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.007284, allocations: 11.98 kB / 0.7041 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.007292, allocations: 11.92 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.213e-05/0.007335, allocations: 125.3 kB / 0.7042 GB, free: 3.074 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007335, allocations: 4.062 kB / 0.7042 GB, free: 3.07 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001283/0.007463, allocations: 32 kB / 0.7042 GB, free: 3.039 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6.417e-05/0.007527, allocations: 97.38 kB / 0.7043 GB, free: 2.934 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.007747, allocations: 215.3 kB / 0.7045 GB, free: 2.707 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.007748, allocations: 0 / 0.7045 GB, free: 2.707 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.00783, allocations: 67.89 kB / 0.7046 GB, free: 2.641 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.008006, allocations: 54.67 kB / 0.7047 GB, free: 2.59 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.008416, allocations: 331.2 kB / 0.705 GB, free: 2.234 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.008456, allocations: 101.8 kB / 0.7051 GB, free: 2.117 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.008504, allocations: 16.5 kB / 0.7051 GB, free: 2.098 MB / 410.8 MB Notification: Performance of SimCode: time 4.61e-07/0.008504, allocations: 0 / 0.7051 GB, free: 2.098 MB / 410.8 MB Notification: Performance of Templates: time 0.002055/0.01056, allocations: 2.05 MB / 0.7071 GB, free: 60 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2497667875140905]