Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_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.0007384/0.0007384, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009823/0.001721, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007405/0.0007405, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009571/0.001698, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1283/1.135, 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.7817/0.7817, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03319/0.8149, allocations: 21.05 MB / 0.5431 GB, free: 31.95 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_Palm1987_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.506e-05, allocations: 6.312 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference): time 0.001821/0.001836, allocations: 1.951 MB / 0.5464 GB, free: 28.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006301/0.002466, allocations: 0.5754 MB / 0.547 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.002517, allocations: 4 kB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.175e-05/0.002568, allocations: 11.86 kB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.002786, allocations: 67.48 kB / 0.5471 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.002917, allocations: 63.83 kB / 0.5471 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.003096, allocations: 168 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.003133, allocations: 13.94 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.00326, allocations: 111.7 kB / 0.5474 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.003434, allocations: 71.78 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.003456, allocations: 8 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.782e-05/0.003474, allocations: 8 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.003521, allocations: 23.92 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.003563, allocations: 35.94 kB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.003674, allocations: 75.73 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.471e-05/0.003689, allocations: 0 / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.00369, allocations: 0 / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.003706, allocations: 3.938 kB / 0.5476 GB, free: 27.35 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005171/0.004223, allocations: 380.2 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.004251, allocations: 8.031 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.004287, allocations: 16.92 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.004418, allocations: 165.8 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.004434, allocations: 4.375 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.004454, allocations: 16.36 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.004603, allocations: 69.03 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.004613, allocations: 3.938 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.004624, allocations: 0 / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.004631, allocations: 4 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.0047, allocations: 39.89 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.004977, allocations: 189.9 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.00508, allocations: 122.9 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.005107, allocations: 16.86 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.005121, allocations: 4 kB / 0.5486 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/0.005229, allocations: 98.16 kB / 0.5487 GB, free: 26.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.005231, allocations: 0 / 0.5487 GB, free: 26.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001328/0.005364, allocations: 81.66 kB / 0.5488 GB, free: 26.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.005387, allocations: 51.41 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.00545, allocations: 150.6 kB / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.005464, allocations: 33.69 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/0.005491, allocations: 96.08 kB / 0.5491 GB, free: 25.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.005515, allocations: 47.61 kB / 0.5491 GB, free: 25.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.005555, allocations: 37.86 kB / 0.5492 GB, free: 25.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.91e-05/0.005584, allocations: 322.8 kB / 0.5495 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.005616, allocations: 56.45 kB / 0.5495 GB, free: 25.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-05/0.005672, allocations: 162 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.716e-05/0.00573, allocations: 76.17 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005732, allocations: 0 / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.862e-05/0.00582, allocations: 154.6 kB / 0.5499 GB, free: 24.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.005846, allocations: 37.7 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.00585, allocations: 0 / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.005858, allocations: 0 / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.005964, allocations: 35.92 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.005967, allocations: 0 / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.006032, allocations: 15.98 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.00604, allocations: 4 kB / 0.55 GB, free: 24.66 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: 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.82e-05/0.006088, allocations: 116.7 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.006101, allocations: 15.92 kB / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.006203, allocations: 102.4 kB / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006205, allocations: 0 / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.006207, allocations: 3.062 kB / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.00621, allocations: 0 / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.955e-05/0.00628, allocations: 105.8 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.006281, allocations: 0 / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.596e-05/0.006357, allocations: 23.98 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.006371, allocations: 11.94 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006372, allocations: 3.938 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.006383, allocations: 0 / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006384, allocations: 4 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.006385, allocations: 0 / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.00651, allocations: 138.6 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.006529, allocations: 15.92 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.475e-05/0.006574, allocations: 4 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.006614, allocations: 15.97 kB / 0.5505 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.00662, allocations: 4 kB / 0.5506 GB, free: 24.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.678e-05/0.006647, allocations: 43.92 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006647, allocations: 0 / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001097/0.006757, allocations: 28 kB / 0.5506 GB, free: 23.99 MB / 410.7 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.741e-05/0.006824, allocations: 96.33 kB / 0.5507 GB, free: 23.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.006939, allocations: 142.7 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.006946, allocations: 11.92 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.73e-05/0.006984, allocations: 36.78 kB / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.007125, allocations: 57.39 kB / 0.5509 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.009577, allocations: 358.2 kB / 0.5513 GB, free: 23.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.009608, allocations: 71.83 kB / 0.5514 GB, free: 23.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.577e-05/0.009663, allocations: 21.53 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.009764, allocations: 91.27 kB / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.009764, allocations: 0 / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of Templates: time 0.0037/0.01346, allocations: 2.733 MB / 0.5541 GB, free: 20.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3886513002216816]