Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.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.0009663/0.0009663, allocations: 92.5 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.0009468/0.0009468, allocations: 169.8 kB / 23.21 MB, free: 1.328 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.9709/0.9709, allocations: 177.1 MB / 203.5 MB, free: 5.703 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.6835/0.6835, allocations: 291.2 MB / 0.5382 GB, free: 51.85 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.Alteplase.Alteplase,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.269e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase): time 0.001785/0.001808, allocations: 1.84 MB / 0.6992 GB, free: 8.516 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006397/0.002448, allocations: 0.546 MB / 0.6997 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.002501, allocations: 0 / 0.6997 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.05e-05/0.002592, allocations: 11.86 kB / 0.6997 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.002889, allocations: 71.45 kB / 0.6998 GB, free: 7.883 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.003004, allocations: 71.77 kB / 0.6998 GB, free: 7.812 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.003155, allocations: 171.3 kB / 0.7 GB, free: 7.645 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.003193, allocations: 5.312 kB / 0.7 GB, free: 7.641 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.783e-05/0.003291, allocations: 91.77 kB / 0.7001 GB, free: 7.551 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.003476, allocations: 71.78 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.003497, allocations: 8 kB / 0.7002 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.613e-05/0.003513, allocations: 8 kB / 0.7002 GB, free: 7.465 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.003562, allocations: 39.89 kB / 0.7002 GB, free: 7.426 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.003606, allocations: 43.84 kB / 0.7003 GB, free: 7.383 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.003716, allocations: 99.67 kB / 0.7004 GB, free: 7.285 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003718, allocations: 0 / 0.7004 GB, free: 7.285 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003719, allocations: 0 / 0.7004 GB, free: 7.285 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.003723, allocations: 0 / 0.7004 GB, free: 7.285 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.0004907/0.004213, allocations: 391.5 kB / 0.7007 GB, free: 6.867 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.004247, allocations: 8.031 kB / 0.7007 GB, free: 6.859 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.004294, allocations: 20.84 kB / 0.7008 GB, free: 6.84 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.004417, allocations: 150.1 kB / 0.7009 GB, free: 6.668 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.004429, allocations: 4.375 kB / 0.7009 GB, free: 6.664 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.00445, allocations: 8.375 kB / 0.7009 GB, free: 6.656 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.004602, allocations: 98.19 kB / 0.701 GB, free: 6.555 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.004609, allocations: 3.938 kB / 0.701 GB, free: 6.551 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.00462, allocations: 4 kB / 0.701 GB, free: 6.547 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.004623, allocations: 0 / 0.701 GB, free: 6.547 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.004764, allocations: 91.84 kB / 0.7011 GB, free: 6.457 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.005068, allocations: 276.4 kB / 0.7014 GB, free: 6.156 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.005275, allocations: 134.4 kB / 0.7015 GB, free: 6.016 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.543e-05/0.005351, allocations: 52.81 kB / 0.7015 GB, free: 5.961 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.005364, allocations: 0 / 0.7015 GB, free: 5.961 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.005517, allocations: 122.8 kB / 0.7017 GB, free: 5.832 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.005518, allocations: 224 / 0.7017 GB, free: 5.832 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003088/0.005827, allocations: 201.6 kB / 0.7019 GB, free: 5.629 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.005849, allocations: 59.34 kB / 0.7019 GB, free: 5.559 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.224e-05/0.005931, allocations: 151.6 kB / 0.7021 GB, free: 5.402 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.005943, allocations: 33.7 kB / 0.7021 GB, free: 5.363 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.00598, allocations: 104.1 kB / 0.7022 GB, free: 5.258 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.006001, allocations: 47.62 kB / 0.7022 GB, free: 5.211 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.006041, allocations: 37.7 kB / 0.7023 GB, free: 5.168 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.048e-05/0.006071, allocations: 322.8 kB / 0.7026 GB, free: 4.844 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.446e-05/0.006166, allocations: 85.66 kB / 0.7027 GB, free: 4.754 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.006277, allocations: 212.2 kB / 0.7029 GB, free: 4.512 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.006425, allocations: 142.5 kB / 0.703 GB, free: 4.363 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.006429, allocations: 3.938 kB / 0.703 GB, free: 4.359 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002093/0.006638, allocations: 235 kB / 0.7032 GB, free: 4.113 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.006658, allocations: 37.7 kB / 0.7033 GB, free: 4.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.006662, allocations: 0 / 0.7033 GB, free: 4.07 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.006672, allocations: 0 / 0.7033 GB, free: 4.07 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.873e-05/0.006761, allocations: 31.91 kB / 0.7033 GB, free: 4.039 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.006766, allocations: 4 kB / 0.7033 GB, free: 4.035 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-05/0.006841, allocations: 19.92 kB / 0.7033 GB, free: 4.016 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.006851, allocations: 4 kB / 0.7033 GB, free: 4.012 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 5.117e-05/0.006902, allocations: 130.4 kB / 0.7034 GB, free: 3.875 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.006912, allocations: 11.91 kB / 0.7035 GB, free: 3.863 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.007121, allocations: 174.3 kB / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007123, allocations: 0 / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.007127, allocations: 0 / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.007131, allocations: 0 / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.877e-05/0.007209, allocations: 149.2 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.007212, allocations: 7.938 kB / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.007291, allocations: 27.97 kB / 0.7038 GB, free: 3.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.007293, allocations: 0 / 0.7038 GB, free: 3.48 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.007303, allocations: 4 kB / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007305, allocations: 4 kB / 0.7038 GB, free: 3.473 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007306, allocations: 3.984 kB / 0.7038 GB, free: 3.469 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.00758, allocations: 244.9 kB / 0.704 GB, free: 3.211 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.007596, allocations: 23.86 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.007613, allocations: 4 kB / 0.7041 GB, free: 3.184 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.007666, allocations: 8.031 kB / 0.7041 GB, free: 3.176 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.007717, allocations: 27.89 kB / 0.7041 GB, free: 3.148 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.007723, allocations: 4.062 kB / 0.7041 GB, free: 3.145 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.317e-05/0.007767, allocations: 125.8 kB / 0.7042 GB, free: 3.023 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.007767, allocations: 3.938 kB / 0.7042 GB, free: 3.02 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001303/0.007897, allocations: 32 kB / 0.7043 GB, free: 2.988 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.029e-05/0.007957, allocations: 99.25 kB / 0.7044 GB, free: 2.879 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.008187, allocations: 216.9 kB / 0.7046 GB, free: 2.648 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.008188, allocations: 0 / 0.7046 GB, free: 2.648 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.224e-05/0.00827, allocations: 66.77 kB / 0.7046 GB, free: 2.586 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.00845, allocations: 43.91 kB / 0.7047 GB, free: 2.543 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.008879, allocations: 339.2 kB / 0.705 GB, free: 2.18 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.064e-05/0.00892, allocations: 89.81 kB / 0.7051 GB, free: 2.074 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.008965, allocations: 20.5 kB / 0.7051 GB, free: 2.051 MB / 410.8 MB Notification: Performance of SimCode: time 3.9e-07/0.008965, allocations: 0 / 0.7051 GB, free: 2.051 MB / 410.8 MB Notification: Performance of Templates: time 0.002163/0.01113, allocations: 2.05 MB / 0.7071 GB, free: 12 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.314086542464793]