Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.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.001824/0.001824, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.002016/0.002016, allocations: 173.9 kB / 22.46 MB, free: 2.102 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 1.712/1.712, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] 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 1.369/1.369, allocations: 292.9 MB / 0.5392 GB, free: 50.19 MB / 410.7 MB " [Timeout remaining time 178] 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.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.671e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt): time 0.002009/0.002036, allocations: 0.6323 MB / 0.7005 GB, free: 7.902 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 7.144e-05/0.002107, allocations: 7.938 kB / 0.7005 GB, free: 7.895 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.002151, allocations: 0 / 0.7005 GB, free: 7.895 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.002171, allocations: 0 / 0.7005 GB, free: 7.895 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.818e-05/0.002209, allocations: 3.938 kB / 0.7005 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.218e-05/0.002271, allocations: 11.92 kB / 0.7005 GB, free: 7.879 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 7.949e-05/0.002351, allocations: 11.98 kB / 0.7005 GB, free: 7.867 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.296e-05/0.002424, allocations: 4 kB / 0.7005 GB, free: 7.863 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.984e-05/0.002474, allocations: 11.94 kB / 0.7005 GB, free: 7.852 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.002538, allocations: 11.97 kB / 0.7005 GB, free: 7.84 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.002576, allocations: 0 / 0.7005 GB, free: 7.84 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.002584, allocations: 4 kB / 0.7005 GB, free: 7.836 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.002602, allocations: 0 / 0.7005 GB, free: 7.836 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.002631, allocations: 7.984 kB / 0.7006 GB, free: 7.828 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 7.78e-05/0.002709, allocations: 15.86 kB / 0.7006 GB, free: 7.812 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.002712, allocations: 0 / 0.7006 GB, free: 7.812 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.31e-07/0.002712, allocations: 0 / 0.7006 GB, free: 7.812 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.002717, allocations: 0 / 0.7006 GB, free: 7.812 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004806/0.003198, allocations: 262.3 kB / 0.7008 GB, free: 7.523 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.00325, allocations: 8.031 kB / 0.7008 GB, free: 7.516 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.003295, allocations: 4.938 kB / 0.7008 GB, free: 7.512 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.003402, allocations: 109.8 kB / 0.7009 GB, free: 7.379 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.003421, allocations: 4.375 kB / 0.7009 GB, free: 7.375 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.003435, allocations: 4.359 kB / 0.7009 GB, free: 7.371 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.003564, allocations: 34.27 kB / 0.701 GB, free: 7.332 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.003578, allocations: 192 / 0.701 GB, free: 7.332 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.003592, allocations: 8.312 kB / 0.701 GB, free: 7.324 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.003598, allocations: 384 / 0.701 GB, free: 7.324 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.446e-05/0.003663, allocations: 15.92 kB / 0.701 GB, free: 7.309 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.003828, allocations: 105.3 kB / 0.7011 GB, free: 7.176 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.004081, allocations: 46.64 kB / 0.7011 GB, free: 7.121 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.004129, allocations: 12.98 kB / 0.7012 GB, free: 7.105 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.004147, allocations: 4 kB / 0.7012 GB, free: 7.102 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.004169, allocations: 34.5 kB / 0.7012 GB, free: 7.059 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.00417, allocations: 0 / 0.7012 GB, free: 7.059 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002193/0.004389, allocations: 53.69 kB / 0.7012 GB, free: 7 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.004431, allocations: 55.41 kB / 0.7013 GB, free: 6.934 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.004503, allocations: 105.8 kB / 0.7014 GB, free: 6.82 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.004513, allocations: 29.7 kB / 0.7014 GB, free: 6.785 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.004536, allocations: 88.12 kB / 0.7015 GB, free: 6.695 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.004573, allocations: 19.83 kB / 0.7015 GB, free: 6.676 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.004607, allocations: 13.72 kB / 0.7015 GB, free: 6.656 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.515e-05/0.004663, allocations: 314.8 kB / 0.7018 GB, free: 6.34 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.004688, allocations: 7.984 kB / 0.7019 GB, free: 6.332 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.004705, allocations: 4 kB / 0.7019 GB, free: 6.328 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/0.004759, allocations: 29.08 kB / 0.7019 GB, free: 6.297 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.004762, allocations: 0 / 0.7019 GB, free: 6.297 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.91e-05/0.004861, allocations: 49.67 kB / 0.7019 GB, free: 6.242 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.004878, allocations: 8 kB / 0.7019 GB, free: 6.234 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.004883, allocations: 4 kB / 0.7019 GB, free: 6.23 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.004902, allocations: 0 / 0.7019 GB, free: 6.23 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.004962, allocations: 4 kB / 0.7019 GB, free: 6.227 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.004969, allocations: 0 / 0.7019 GB, free: 6.227 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.004998, allocations: 15.83 kB / 0.702 GB, free: 6.211 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.005004, allocations: 0 / 0.702 GB, free: 6.211 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 (4): * Single equations (assignments): 4 * 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 6.142e-05/0.005066, allocations: 113.8 kB / 0.7021 GB, free: 6.09 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.005076, allocations: 11.88 kB / 0.7021 GB, free: 6.078 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.005106, allocations: 7.688 kB / 0.7021 GB, free: 6.07 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005108, allocations: 0 / 0.7021 GB, free: 6.07 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.005113, allocations: 4 kB / 0.7021 GB, free: 6.066 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.005117, allocations: 3.938 kB / 0.7021 GB, free: 6.062 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.028e-05/0.005197, allocations: 105.3 kB / 0.7022 GB, free: 5.93 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.005199, allocations: 0 / 0.7022 GB, free: 5.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.005245, allocations: 8 kB / 0.7022 GB, free: 5.922 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.005247, allocations: 0 / 0.7022 GB, free: 5.922 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.005255, allocations: 4 kB / 0.7022 GB, free: 5.918 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.005256, allocations: 0 / 0.7022 GB, free: 5.918 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.005257, allocations: 0 / 0.7022 GB, free: 5.918 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.71e-05/0.005354, allocations: 77.02 kB / 0.7023 GB, free: 5.824 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-06/0.005361, allocations: 0 / 0.7023 GB, free: 5.824 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.005375, allocations: 8 kB / 0.7023 GB, free: 5.816 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.629e-05/0.005402, allocations: 4 kB / 0.7023 GB, free: 5.812 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.005421, allocations: 7.922 kB / 0.7023 GB, free: 5.805 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.005424, allocations: 256 / 0.7023 GB, free: 5.805 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.396e-05/0.005448, allocations: 83.28 kB / 0.7024 GB, free: 5.723 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.005448, allocations: 0 / 0.7024 GB, free: 5.723 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002784/0.005727, allocations: 11.88 kB / 0.7024 GB, free: 5.711 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 (4): * Single equations (assignments): 4 * 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 9.215e-05/0.005819, allocations: 103.2 kB / 0.7025 GB, free: 5.602 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.005923, allocations: 19.98 kB / 0.7025 GB, free: 5.582 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.005926, allocations: 4 kB / 0.7025 GB, free: 5.578 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.237e-05/0.005948, allocations: 11.94 kB / 0.7025 GB, free: 5.566 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.006153, allocations: 4 kB / 0.7025 GB, free: 5.562 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.006422, allocations: 116.8 kB / 0.7026 GB, free: 5.422 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.006462, allocations: 59.36 kB / 0.7027 GB, free: 5.344 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.907e-05/0.006481, allocations: 3.984 kB / 0.7027 GB, free: 5.34 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.006507, allocations: 12.5 kB / 0.7027 GB, free: 5.328 MB / 410.8 MB Notification: Performance of SimCode: time 4.51e-07/0.006508, allocations: 0 / 0.7027 GB, free: 5.328 MB / 410.8 MB Notification: Performance of Templates: time 0.003412/0.00992, allocations: 412.9 kB / 0.7031 GB, free: 4.98 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.401412317063659]