Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference.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.001361/0.001361, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.0009937/0.0009937, allocations: 215.5 kB / 23 MB, free: 2.961 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.001/1.001, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.792/0.792, allocations: 312.3 MB / 0.6108 GB, free: 97.05 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.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002514, allocations: 81.42 kB / 0.7699 GB, free: 19.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1432, allocations: 73.98 MB / 0.8421 GB, free: 9.898 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference): time 0.003148/0.1464, allocations: 2.306 MB / 0.8444 GB, free: 7.598 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006607/0.153, allocations: 6.529 MB / 0.8508 GB, free: 1.066 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.1532, allocations: 0.5 kB / 0.8508 GB, free: 1.066 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.1533, allocations: 23.72 kB / 0.8508 GB, free: 1.043 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.1536, allocations: 80.52 kB / 0.8509 GB, free: 0.9648 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.1539, allocations: 52.5 kB / 0.8509 GB, free: 0.9141 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.1542, allocations: 255.3 kB / 0.8512 GB, free: 0.6641 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.1544, allocations: 36.58 kB / 0.8512 GB, free: 0.6289 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.1545, allocations: 108.2 kB / 0.8513 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.1547, allocations: 92.27 kB / 0.8514 GB, free: 444 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.1548, allocations: 16 kB / 0.8514 GB, free: 428 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.17e-05/0.1548, allocations: 16.69 kB / 0.8514 GB, free: 412 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.725e-05/0.1548, allocations: 35.84 kB / 0.8514 GB, free: 376 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.1549, allocations: 96.09 kB / 0.8515 GB, free: 280 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.1552, allocations: 203.8 kB / 0.8517 GB, free: 76 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1552, allocations: 0 / 0.8517 GB, free: 76 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1552, allocations: 0.625 kB / 0.8517 GB, free: 76 kB / 474.8 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.1552, allocations: 0 / 0.8517 GB, free: 76 kB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008284/0.156, allocations: 0.4912 MB / 0.8522 GB, free: 15.54 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1561, allocations: 8.031 kB / 0.8522 GB, free: 15.53 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.215e-05/0.1561, allocations: 25.3 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1564, allocations: 187.7 kB / 0.8524 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1564, allocations: 12.61 kB / 0.8524 GB, free: 15.28 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.1564, allocations: 20.64 kB / 0.8525 GB, free: 15.26 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.1567, allocations: 194.9 kB / 0.8526 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1568, allocations: 0.625 kB / 0.8526 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1568, allocations: 4 kB / 0.8526 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1568, allocations: 8.594 kB / 0.8527 GB, free: 15.04 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.157, allocations: 142.9 kB / 0.8528 GB, free: 14.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.1577, allocations: 486.7 kB / 0.8533 GB, free: 14.39 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.158, allocations: 169.3 kB / 0.8534 GB, free: 14.21 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.1582, allocations: 99.62 kB / 0.8535 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.1582, allocations: 3.984 kB / 0.8535 GB, free: 14.1 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.1585, allocations: 233.4 kB / 0.8537 GB, free: 13.85 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.1585, allocations: 0 / 0.8537 GB, free: 13.85 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001085/0.1595, allocations: 0.7043 MB / 0.8544 GB, free: 13.09 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.1596, allocations: 133 kB / 0.8545 GB, free: 12.93 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.1598, allocations: 218.9 kB / 0.8548 GB, free: 12.7 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1598, allocations: 34.36 kB / 0.8548 GB, free: 12.66 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.1599, allocations: 136.4 kB / 0.8549 GB, free: 12.53 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.1599, allocations: 64.08 kB / 0.855 GB, free: 12.46 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.16, allocations: 58.2 kB / 0.855 GB, free: 12.4 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.1601, allocations: 339.4 kB / 0.8554 GB, free: 12.06 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3557/0.5158, allocations: 139 kB / 0.8555 GB, free: 30.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.5161, allocations: 224.2 kB / 0.8557 GB, free: 30.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.5164, allocations: 278.9 kB / 0.856 GB, free: 30.05 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5165, allocations: 0 / 0.856 GB, free: 30.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005444/0.517, allocations: 393.9 kB / 0.8563 GB, free: 29.89 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.256e-05/0.517, allocations: 66.59 kB / 0.8564 GB, free: 29.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.5171, allocations: 3.969 kB / 0.8564 GB, free: 29.83 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.5171, allocations: 7.781 kB / 0.8564 GB, free: 29.83 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.5172, allocations: 45.89 kB / 0.8565 GB, free: 29.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.5173, allocations: 3.516 kB / 0.8565 GB, free: 29.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.5174, allocations: 20.81 kB / 0.8565 GB, free: 29.83 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.5174, allocations: 12.12 kB / 0.8565 GB, free: 29.83 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002311/0.5177, allocations: 181.1 kB / 0.8567 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.5177, allocations: 29.39 kB / 0.8567 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.74e-05/0.5178, allocations: 23.88 kB / 0.8567 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5178, allocations: 0 / 0.8567 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.5178, allocations: 0 / 0.8567 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.5178, allocations: 6.141 kB / 0.8567 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007751/0.5186, allocations: 0.538 MB / 0.8573 GB, free: 29.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5186, allocations: 5.188 kB / 0.8573 GB, free: 29.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.5187, allocations: 38.81 kB / 0.8573 GB, free: 29.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.5187, allocations: 2.344 kB / 0.8573 GB, free: 29.38 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.5187, allocations: 7.734 kB / 0.8573 GB, free: 29.38 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.5187, allocations: 3.938 kB / 0.8573 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5187, allocations: 6.844 kB / 0.8573 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005068/0.5192, allocations: 493.6 kB / 0.8578 GB, free: 29.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.5193, allocations: 22.12 kB / 0.8578 GB, free: 29.14 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.5193, allocations: 8.688 kB / 0.8578 GB, free: 29.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.5194, allocations: 17.09 kB / 0.8578 GB, free: 29.14 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.448e-05/0.5195, allocations: 20.19 kB / 0.8579 GB, free: 29.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.5195, allocations: 7.094 kB / 0.8579 GB, free: 29.14 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001053/0.5196, allocations: 155.6 kB / 0.858 GB, free: 29.07 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5196, allocations: 2.297 kB / 0.858 GB, free: 29.07 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002648/0.5199, allocations: 58.03 kB / 0.8581 GB, free: 29.07 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001219/0.52, allocations: 123.5 kB / 0.8582 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004352/0.5204, allocations: 377.5 kB / 0.8585 GB, free: 28.75 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5204, allocations: 0.5 kB / 0.8585 GB, free: 28.75 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.5206, allocations: 172.7 kB / 0.8587 GB, free: 28.65 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.521, allocations: 66.88 kB / 0.8588 GB, free: 28.65 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.5221, allocations: 0.7006 MB / 0.8595 GB, free: 28.34 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.252e-05/0.5222, allocations: 125.4 kB / 0.8596 GB, free: 28.26 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.5222, allocations: 22.38 kB / 0.8596 GB, free: 28.25 MB / 490.8 MB Notification: Performance of SimCode: time 7.42e-07/0.5222, allocations: 0.625 kB / 0.8596 GB, free: 28.25 MB / 490.8 MB Notification: Performance of Templates: time 0.005529/0.5278, allocations: 2.952 MB / 0.8625 GB, free: 28.05 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.885240321047604]