Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs.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.0008933/0.0008933, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001247/0.002141, 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.0009284/0.0009284, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001336/0.002264, 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.008/1.008, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08513/1.093, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.7512/0.7512, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03131/0.7825, 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.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.5444 GB, free: 30.65 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.448e-06/1.063e-05, allocations: 10.19 kB / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs): time 0.0008845/0.0008952, allocations: 0.6746 MB / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.043e-05/0.0009156, allocations: 3.938 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.52e-05/0.0009308, allocations: 0 / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.727e-06/0.0009345, allocations: 0 / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.764e-06/0.0009423, allocations: 4 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.168e-05/0.000964, allocations: 7.984 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.336e-05/0.001007, allocations: 19.86 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.001045, allocations: 7.125 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.001092, allocations: 11.98 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.331e-05/0.001136, allocations: 7.984 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.001152, allocations: 0 / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-06/0.001159, allocations: 3.938 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.001172, allocations: 4 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.596e-05/0.001188, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.55e-05/0.001234, allocations: 8 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.001245, allocations: 0 / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.001246, allocations: 0 / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.001255, allocations: 0 / 0.5451 GB, free: 29.89 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002277/0.001483, allocations: 239 kB / 0.5454 GB, free: 29.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.635e-05/0.001509, allocations: 15.89 kB / 0.5454 GB, free: 29.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.977e-05/0.001529, allocations: 12.86 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.938e-05/0.001578, allocations: 109.7 kB / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.001588, allocations: 384 / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-06/0.001593, allocations: 384 / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.153e-05/0.001645, allocations: 34.25 kB / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-06/0.00165, allocations: 4.188 kB / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.001655, allocations: 8.359 kB / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.001659, allocations: 384 / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.538e-05/0.001675, allocations: 7.938 kB / 0.5455 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.441e-05/0.001739, allocations: 61.05 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.001923, allocations: 46.53 kB / 0.5456 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.001935, allocations: 8.859 kB / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.001942, allocations: 0 / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.001954, allocations: 30.56 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.001955, allocations: 4 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 7.502e-05/0.00203, allocations: 41.69 kB / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.759e-05/0.002047, allocations: 55.41 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.026e-05/0.002077, allocations: 110.7 kB / 0.5459 GB, free: 29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-06/0.002082, allocations: 29.64 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.118e-05/0.002094, allocations: 84.12 kB / 0.546 GB, free: 28.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.002115, allocations: 7.906 kB / 0.546 GB, free: 28.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.002136, allocations: 13.72 kB / 0.546 GB, free: 28.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.688e-05/0.002163, allocations: 322.8 kB / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-06/0.002168, allocations: 0 / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-06/0.002174, allocations: 4 kB / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.02e-05/0.002194, allocations: 24.83 kB / 0.5463 GB, free: 28.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.002196, allocations: 0 / 0.5463 GB, free: 28.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.07e-05/0.002227, allocations: 41.02 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.002235, allocations: 4 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.002239, allocations: 3.984 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.002246, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.81e-05/0.002274, allocations: 7.938 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.002277, allocations: 0 / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.748e-06/0.002286, allocations: 4 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-06/0.002289, allocations: 0 / 0.5464 GB, free: 28.43 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 (3): * Single equations (assignments): 3 * 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 2.967e-05/0.002318, allocations: 113.8 kB / 0.5465 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-06/0.002323, allocations: 7.938 kB / 0.5465 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.496e-05/0.002338, allocations: 8 kB / 0.5465 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.00234, allocations: 0 / 0.5465 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.002341, allocations: 3.984 kB / 0.5465 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.002343, allocations: 0 / 0.5465 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.999e-05/0.002383, allocations: 73.78 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.002384, allocations: 0 / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.002396, allocations: 4 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.0024, allocations: 4.328 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.002401, allocations: 0 / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-06/0.002404, allocations: 4 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.002405, allocations: 3.984 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.002405, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.679e-05/0.002442, allocations: 76.98 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-06/0.002448, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-06/0.002455, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-06/0.002464, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.002465, allocations: 4 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.207e-06/0.002475, allocations: 14.53 kB / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002475, allocations: 0 / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.859e-05/0.002563, allocations: 4 kB / 0.5467 GB, free: 28.07 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 (3): * Single equations (assignments): 3 * 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 4.535e-05/0.002609, allocations: 91.41 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.632e-05/0.002655, allocations: 16.86 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.002657, allocations: 0 / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-06/0.002664, allocations: 12.8 kB / 0.5468 GB, free: 27.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.269e-05/0.002716, allocations: 13.89 kB / 0.5468 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001474/0.002864, allocations: 138.2 kB / 0.547 GB, free: 27.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.233e-05/0.002886, allocations: 63.34 kB / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.002911, allocations: 51.38 kB / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.002911, allocations: 4 kB / 0.5471 GB, free: 27.62 MB / 410.7 MB Notification: Performance of Templates: time 0.0009355/0.003847, allocations: 0.4949 MB / 0.5476 GB, free: 27.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8926229644566774]